Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::CartesianMeshRenumberingInfo Class Reference

Information for renumbering. More...

#include <arcane/cartesianmesh/CartesianMeshRenumberingInfo.h>

Collaboration diagram for Arcane::CartesianMeshRenumberingInfo:

Public Member Functions

void setRenumberPatchMethod (Int32 v)
 Method to renumber patches.
Int32 renumberPatchMethod () const
void setRenumberFaceMethod (Int32 v)
 Method to renumber faces.
Int32 renumberFaceMethod () const
void setSortAfterRenumbering (bool v)
 Indicates whether to retrieve the entities after renumbering.
bool isSortAfterRenumbering () const
void setParentPatch (CartesianPatch patch)
 Parent patch number for renumbering.
CartesianPatch parentPatch () const

Private Attributes

Int32 m_renumber_patch_method = 0
Int32 m_renumber_faces_method = 0
CartesianPatch m_parent_patch
bool m_is_sort = false

Detailed Description

Information for renumbering.

If both the uniqueId() of the faces and the entities of the patches are renumbered, the face renumbering happens first.

Definition at line 35 of file src/arcane/cartesianmesh/CartesianMeshRenumberingInfo.h.

Member Function Documentation

◆ isSortAfterRenumbering()

bool Arcane::CartesianMeshRenumberingInfo::isSortAfterRenumbering ( ) const
inline

◆ parentPatch()

CartesianPatch Arcane::CartesianMeshRenumberingInfo::parentPatch ( ) const
inline

◆ renumberFaceMethod()

Int32 Arcane::CartesianMeshRenumberingInfo::renumberFaceMethod ( ) const
inline

◆ renumberPatchMethod()

Int32 Arcane::CartesianMeshRenumberingInfo::renumberPatchMethod ( ) const
inline

◆ setParentPatch()

void Arcane::CartesianMeshRenumberingInfo::setParentPatch ( CartesianPatch patch)
inline

Parent patch number for renumbering.

Parent patch for renumbering. For renumbering, the child cells of this patch are recursively traversed and renumbered, as well as the entities associated with these cells (nodes and faces).

The entities of this patch (cells, nodes, and faces) are not renumbered.

If not specified, the implementation will use patch 0 as the parent patch.

Note
This property is only considered if renumberPatchMethod()==1.

Definition at line 92 of file src/arcane/cartesianmesh/CartesianMeshRenumberingInfo.h.

◆ setRenumberFaceMethod()

void Arcane::CartesianMeshRenumberingInfo::setRenumberFaceMethod ( Int32 v)
inline

Method to renumber faces.

If 0, there is no renumbering. The only other valid value is 1. In this case, the renumbering is based on a Cartesian numbering.

Definition at line 66 of file src/arcane/cartesianmesh/CartesianMeshRenumberingInfo.h.

◆ setRenumberPatchMethod()

void Arcane::CartesianMeshRenumberingInfo::setRenumberPatchMethod ( Int32 v)
inline

Method to renumber patches.

The possible values are as follows:

  • 0 no renumbering.
  • 1 default renumbering.
  • 2 experimental version of renumbering
  • 3 like version 1 but with a different implementation for 2D meshes.
  • 4 like 1, but uses the same numbering with or without de-refinement of the initial mesh.

If renumbering occurs, the uniqueId() of the entities (Node,Face,Cell) of the patches are renumbered to have the same numbering regardless of the subdivision. The numbering is not contiguous. Only the child entities of the parentPatch() entities are renumbered.

Definition at line 57 of file src/arcane/cartesianmesh/CartesianMeshRenumberingInfo.h.

◆ setSortAfterRenumbering()

void Arcane::CartesianMeshRenumberingInfo::setSortAfterRenumbering ( bool v)
inline

Indicates whether to retrieve the entities after renumbering.

The sort calls IItemFamily::compactItems(true) for each family. This also causes a call to ICartesianMesh::computeDirections() to recalculate the directions that are invalidated following the sort.

Definition at line 76 of file src/arcane/cartesianmesh/CartesianMeshRenumberingInfo.h.

Member Data Documentation

◆ m_is_sort

bool Arcane::CartesianMeshRenumberingInfo::m_is_sort = false
private

◆ m_parent_patch

CartesianPatch Arcane::CartesianMeshRenumberingInfo::m_parent_patch
private

◆ m_renumber_faces_method

Int32 Arcane::CartesianMeshRenumberingInfo::m_renumber_faces_method = 0
private

◆ m_renumber_patch_method

Int32 Arcane::CartesianMeshRenumberingInfo::m_renumber_patch_method = 0
private

The documentation for this class was generated from the following file: