Public Member Functions | |
| virtual | ~IMeshUniqueIdMng ()=default |
| Frees resources. | |
| virtual void | setFaceBuilderVersion (Integer n)=0 |
| Sets the face numbering version. | |
| virtual Integer | faceBuilderVersion () const =0 |
| Face numbering version. | |
| virtual void | setEdgeBuilderVersion (Integer n)=0 |
| Sets the edge numbering version. | |
| virtual Integer | edgeBuilderVersion () const =0 |
| Edge numbering version. | |
| virtual void | setUseNodeUniqueIdToGenerateEdgeAndFaceUniqueId (bool v)=0 |
| Indicates whether the uniqueIds() of edges and faces are determined based on the uniqueIds() of the nodes they consist of. | |
| virtual bool | isUseNodeUniqueIdToGenerateEdgeAndFaceUniqueId () const =0 |
| Indicates the mechanism used to number edges or faces. | |
Definition at line 36 of file IMeshUniqueIdMng.h.
|
pure virtual |
Sets the edge numbering version.
Valid values are 0, 1, and 2. Value 1 works regardless of the number of cells, but the mesh must be read by a single processor. Value 2 only works if the maximum of the node uniqueIds() does not exceed 2^31.
If the version is 0, there is no renumbering. In parallel, the uniqueIds() of the faces must be consistent between subdomains.
|
pure virtual |
Sets the face numbering version.
Valid values are 0, 1, 2, and 3. The default value is 1. If the version is 0, there is no renumbering. In parallel, the uniqueIds() of the faces must be consistent between subdomains.
|
pure virtual |
Indicates whether the uniqueIds() of edges and faces are determined based on the uniqueIds() of the nodes they consist of.
This method must be called before setting the mesh dimension (IPrimaryMesh::setDimension()).
If active, when an edge or face is created on the fly, MeshUtils::generateHashUniqueId() is used to generate the uniqueId() of the entity. This allows automatically creating edges or faces in parallel.