ansys::dpf::MeshInfo Class Reference
Last update: 16.07.2025Define a mesh info. More...
#include <dpf_api.h>
Public Member Functions | |
| MeshInfo (const GenericDataContainer &_genericData) | |
| MeshInfo (MeshInfo const &) | |
| MeshInfo & | operator= (MeshInfo const &) |
| GenericDataContainer | getGenericDataContainer () |
| template<typename T > | |
| T | getProperty (const std::string &property_name) |
| template<typename T > | |
| void | setProperty (const std::string &property_name, const T &property) |
| void | setnumberOfNodes (int numNodes) |
| @detail set the number of nodes. More... | |
| void | setnumberOfElements (int numElements) |
| @detail set the number of elements. More... | |
| void | setSplittableBy (dpf::StringField splittableByScoping) |
| @detail set strings name correspondind to mesh split scopings. More... | |
| void | setAvailableElementType (dpf::Scoping availableElementTypes) |
| @detail set available elements of the mesh. More... | |
| int | numberOfNodes () |
| int | numberOfElements () |
| dpf::Scoping | getAvailableElementTypes () |
| dpf::StringField | getSplittableBy () |
Detailed Description
Define a mesh info.
MeshInfo can set and get properties of the mesh through a GenericDataContainer.
Member Function Documentation
◆ getAvailableElementTypes()
|
inline |
- Returns
- the available element types of the mesh.
◆ getSplittableBy()
|
inline |
- Returns
- the names of the scoped meshes that split the mesh.
◆ numberOfElements()
|
inline |
- Returns
- the number of elements of the mesh.
◆ numberOfNodes()
|
inline |
- Returns
- the number of nodes of the mesh.
◆ setAvailableElementType()
|
inline |
@detail set available elements of the mesh.
- Parameters
-
[in] availableElementTypes Scopings of available element types.
◆ setnumberOfElements()
|
inline |
@detail set the number of elements.
- Parameters
-
[in] numElements Number of elements.
◆ setnumberOfNodes()
|
inline |
@detail set the number of nodes.
- Parameters
-
[in] numNodes Number of nodes.
◆ setSplittableBy()
|
inline |
@detail set strings name correspondind to mesh split scopings.
- Parameters
-
[in] splittableByScoping Split mesh names.