|
|
template<typename MeshType > |
| void | applyRemesh (std::shared_ptr< MeshType > const &newMesh) |
| |
|
std::map< std::string, collection_data_by_mesh_entity_type > const & | collectionOfDataByMeshEntity () const |
| |
|
bool | hasMeshMotion () const |
| |
|
import_config_type & | importConfig () |
| |
|
import_config_type const & | importConfig () const |
| |
|
template<typename MeshType > |
| void | initMeasurePointsEvaluationTool () |
| |
|
template<typename MeshType > |
| auto | measurePointsEvaluationTool () |
| |
|
template<typename MeshType = mesh_base_type> |
| auto | mesh () const |
| |
|
template<typename MeshType > |
| auto | meshMotionTool () const |
| |
|
nl::json const & | metadata () const |
| | return json metadata
|
| |
| template<typename MeshType > |
| auto | modelFields (std::string const &prefix_field="", std::string const &prefix_symbol="") const |
| | Returns a tuple of model fields for a given mesh. More...
|
| |
|
| ModelMesh (ModelMesh &&)=default |
| |
|
| ModelMesh (ModelMesh const &)=default |
| |
|
| ModelMesh (std::string const &name) |
| |
|
| ModelMesh (std::string const &name, ModelMeshes< IndexType > const &mMeshes) |
| |
|
partitioning_setup_type const & | partitioningSetup () const |
| |
| bool | removeField (std::string const &name) |
| | Removes a field given its name from the map. More...
|
| |
|
void | setAsShared (ModelMesh< IndexType > const &m) |
| |
|
void | setFunctionApplyRemesh (function_apply_remesh f) |
| |
|
void | setMesh (mesh_base_ptrtype m, std::string const &meshFilename="") |
| |
|
void | setParameterValues (std::map< std::string, double > const ¶mValues) |
| |
|
void | setup (nl::json const &jarg, ModelMeshes< IndexType > const &mMeshes) |
| |
|
void | setupRestart (ModelMeshes< IndexType > const &mMeshes) |
| |
|
template<typename MeshType = mesh_base_type, bool AddFields = true> |
| auto | symbolsExpr (std::string const &prefix_symbol="") const |
| |
|
template<typename MeshType > |
| void | updateDistanceToRange () |
| |
| template<typename MeshType , typename ExprTypr , typename RangeType , std::enable_if_t< is_filter_v< std::decay_t< RangeType > >, bool > = true> |
| void | updateField (std::string const &name, Expr< ExprTypr > const &expr, RangeType const &range, std::string const &basis="", bool initZero=false) |
| | Updates a field in a model mesh based on an expression and a range of elements. More...
|
| |
| template<typename MeshType , typename ExprTypr > |
| void | updateField (std::string const &name, Expr< ExprTypr > const &expr, std::string const &basis="") |
| | Updates a field with a given name and expression on all mesh elements. More...
|
| |
| template<typename MeshType , typename FieldType , std::enable_if_t< is_functionspace_element_v< std::decay_t< FieldType > >, bool > = true> |
| void | updateField (std::string const &name, FieldType const &u, std::string const &basis="") |
| | Updates a field with data from another field. More...
|
| |
|
template<typename MeshType > |
| void | updateForUse (ModelMeshes< IndexType > const &mMeshes) |
| |
|
void | updateInformationObject (nl::json &p, std::string const &prefix_symbol) const |
| |
|
template<typename MeshType , typename SymbolsExprType > |
| void | updateMeshAdaptation (std::shared_ptr< typename MeshAdaptation::Event > event, SymbolsExprType const &se) |
| |
|
template<typename MeshType , typename SymbolsExprType > |
| void | updateMeshMotion (SymbolsExprType const &se) |
| |
|
void | updateTime (double time) |
| |
template<typename IndexType>
class Feel::FeelModels::ModelMesh< IndexType >
Mesh Model class.
- Template Parameters
-
template<typename IndexType >
template<typename MeshType >
Returns a tuple of tuples containing the names and types of the basis fields supported by a mesh.
The function template takes a template parameter MeshType which is a type that represents a mesh. The function returns a tuple of tuples, where each inner tuple contains a string and a type. The string represents the name of a basis field type supported by the mesh, and the type represents the type of the basis field.
The function template is a static member function of the class that it is defined in. It is a constexpr function, which means that it can be evaluated at compile-time if the template parameter MeshType is a constant expression.
The function template uses a C++17 feature called structured bindings to create the tuple of tuples. It uses the hana library to create the tuples and the type_c function to create the type objects.
The function template is specialized for different types of meshes, depending on their dimension and the number of real dimensions. For example, for a 1D mesh with 1 real dimension, the function returns a tuple of tuples containing the names and types of the Lagrange basis fields with 1, 2, 0, and 1 DoFs. For a 2D mesh with 2 real dimensions, the function returns a tuple of tuples containing the names and types of the Lagrange basis fields (continuous order 1,2 and discontinuous 0,1 and vectorial continuous order 1,2 as well as Nedelec basis field 1st family of order 1)
- Template Parameters
-
| MeshType | The type of the mesh. |
- Returns
- A tuple of tuples containing the names and types of the basis fields supported by the mesh.