Skip to main content
Define a mesh info. MeshInfo can set and get properties of the mesh through a GenericDataContainer.

Members

Public functions

Function MeshInfo

Return type:

Function MeshInfo

Parameters:
  • const GenericDataContainer & _genericData
Return type:

Function MeshInfo

Parameters:
  • MeshInfo const &
Return type:

Function operator=

Parameters:
  • MeshInfo const &
Return type: MeshInfo &

Function getGenericDataContainer

Return type: GenericDataContainer const &

Function getProperty

Parameters:
  • const std::string & property_name
Return type: T

Function setProperty

Parameters:
  • const std::string & property_name
  • const T & property
Return type: void

Function setnumberOfNodes

@detail set the number of nodes. Parameters:
  • int numNodes: [in] Number of nodes.
Return type: void

Function setnumberOfElements

@detail set the number of elements. Parameters:
  • int numElements: [in] Number of elements.
Return type: void

Function setSplittableBy

@detail set strings name correspondind to mesh split scopings. Parameters: Return type: void

Function setAvailableElementType

@detail set available elements of the mesh. Parameters:
  • dpf::Scoping availableElementTypes: [in] Scopings of available element types.
Return type: void

Function numberOfNodes

Returns: the number of nodes of the mesh. Return type: int

Function numberOfElements

Returns: the number of elements of the mesh. Return type: int

Function getAvailableElementTypes

Returns: the available element types of the mesh. Return type: dpf::Scoping

Function getSplittableBy

Returns: the names of the scoped meshes that split the mesh. Return type: dpf::StringField