A struct that represents the setup of a part. More...
Collaboration diagram for Feel::FeelModels::ModelMesh< IndexType >::FieldsSetup::PartSetup:Public Member Functions | |
| std::string const & | filename () const |
| Returns the filename of the part. More... | |
| bool | hasExpr () const |
| Returns whether the part has a model expression. More... | |
| ModelMarkers const & | markers () const |
| Returns the markers of the part. More... | |
| ModelExpression const & | mExpr () const |
| Returns the model expression of the part. More... | |
| PartSetup ()=default | |
| Default constructor. | |
| std::string const & | spaceFilename () const noexcept |
| Returns the filename of function space mapping linked to the file stored as filename attribute. More... | |
Static Public Member Functions | |
| static std::optional< PartSetup > | create (ModelMeshes< IndexType > const &mMeshes, nl::json const &jarg) |
| Creates a new PartSetup object from the given model meshes and JSON data. More... | |
A struct that represents the setup of a part.
This struct contains information about the filename, model expression, and markers of a part.
|
static |
Creates a new PartSetup object from the given model meshes and JSON data.
| mMeshes | The model meshes object. |
| jarg | The JSON data. |
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::at(), and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::contains().
| std::string const & Feel::FeelModels::ModelMesh< IndexType >::FieldsSetup::PartSetup::filename | ( | ) | const |
Returns the filename of the part.
| bool Feel::FeelModels::ModelMesh< IndexType >::FieldsSetup::PartSetup::hasExpr | ( | ) | const |
Returns whether the part has a model expression.
| ModelMarkers const & Feel::FeelModels::ModelMesh< IndexType >::FieldsSetup::PartSetup::markers | ( | ) | const |
Returns the markers of the part.
| ModelExpression const & Feel::FeelModels::ModelMesh< IndexType >::FieldsSetup::PartSetup::mExpr | ( | ) | const |
Returns the model expression of the part.
|
noexcept |
Returns the filename of function space mapping linked to the file stored as filename attribute.