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

Renumbering of uniqueId() for Cartesian meshes. More...

#include <arcane/cartesianmesh/internal/CartesianMeshUniqueIdRenumbering.h>

Inheritance diagram for Arcane::CartesianMeshUniqueIdRenumbering:
Collaboration diagram for Arcane::CartesianMeshUniqueIdRenumbering:

Classes

class  NewUniqueIdList

Public Member Functions

 CartesianMeshUniqueIdRenumbering (ICartesianMesh *cmesh, ICartesianMeshGenerationInfo *gen_info, CartesianPatch parent_patch, Int32 patch_method)
void renumber ()
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessoroperator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMngtraceMng () const
 Trace manager.
TraceMessage info () const
 Flow for an information message.
TraceMessage pinfo () const
 Flow for a parallel information message.
TraceMessage info (char category) const
 Flow for an information message of a given category.
TraceMessage pinfo (char category) const
 Flow for a parallel information message of a given category.
TraceMessage info (bool v) const
 Flow for an information message.
TraceMessage warning () const
 Flow for a warning message.
TraceMessage pwarning () const
TraceMessage error () const
 Flow for an error message.
TraceMessage perror () const
TraceMessage log () const
 Flow for a log message.
TraceMessage plog () const
 Flow for a log message.
TraceMessage logdate () const
 Flow for a log message preceded by the date.
TraceMessage fatal () const
 Flow for a fatal error message.
TraceMessage pfatal () const
 Flow for a parallel fatal error message.
TraceMessageDbg debug (Trace::eDebugLevel=Trace::Medium) const
 Flow for a debug message.
Trace::eDebugLevel configDbgLevel () const
 Debug level of the configuration file.
TraceMessage info (Int32 verbose_level) const
 Flow for an information message of a given level.
TraceMessage linfo () const
 Flow for an information message with the local information level of this instance.
TraceMessage linfo (Int32 relative_level) const
 Flow for an information message with the local information level of this instance.
void fatalMessage (const StandaloneTraceMessage &o) const

Private Member Functions

void _applyChildrenCell2D (Cell cell, NewUniqueIdList &new_uids, Int64 coord_i, Int64 coord_j, Int64 nb_cell_x, Int64 nb_cell_y, Int32 level, Int64 base_adder)
void _applyChildrenCell3D (Cell cell, NewUniqueIdList &new_uids, Int64 coord_i, Int64 coord_j, Int64 coord_k, Int64 current_level_nb_cell_x, Int64 current_level_nb_cell_y, Int64 current_level_nb_cell_z, Int32 current_level, Int64 cell_adder, Int64 node_adder, Int64 face_adder)
void _applyChildrenCell3DV2 (Cell cell, NewUniqueIdList &new_uids, Int64 coord_i, Int64 coord_j, Int64 coord_k, Int64 current_level_nb_cell_x, Int64 current_level_nb_cell_y, Int64 current_level_nb_cell_z, Int32 current_level, Int64 cell_adder, Int64 node_adder, Int64 face_adder)
void _applyFamilyRenumbering (IItemFamily *family, VariableItemInt64 &items_new_uid)
void _markItemsToKeepCurrentNumbering (ICartesianMeshPatch *patch)

Private Attributes

ICartesianMeshm_cartesian_mesh = nullptr
ICartesianMeshGenerationInfom_generation_info = nullptr
CartesianPatch m_parent_patch
bool m_is_verbose = false
Int32 m_patch_method = 1

Additional Inherited Members

Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const

Detailed Description

Renumbering of uniqueId() for Cartesian meshes.

Renumbers the uniqueIds of nodes, faces, and cells to have the same sequential and parallel numbering.

Definition at line 40 of file CartesianMeshUniqueIdRenumbering.h.

Constructor & Destructor Documentation

◆ CartesianMeshUniqueIdRenumbering()

Arcane::CartesianMeshUniqueIdRenumbering::CartesianMeshUniqueIdRenumbering ( ICartesianMesh * cmesh,
ICartesianMeshGenerationInfo * gen_info,
CartesianPatch parent_patch,
Int32 patch_method )

Definition at line 109 of file CartesianMeshUniqueIdRenumbering.cc.

Member Function Documentation

◆ _applyChildrenCell2D()

void Arcane::CartesianMeshUniqueIdRenumbering::_applyChildrenCell2D ( Cell cell,
NewUniqueIdList & new_uids,
Int64 coord_i,
Int64 coord_j,
Int64 nb_cell_x,
Int64 nb_cell_y,
Int32 level,
Int64 base_adder )
private

Definition at line 276 of file CartesianMeshUniqueIdRenumbering.cc.

◆ _applyChildrenCell3D()

void Arcane::CartesianMeshUniqueIdRenumbering::_applyChildrenCell3D ( Cell cell,
NewUniqueIdList & new_uids,
Int64 coord_i,
Int64 coord_j,
Int64 coord_k,
Int64 current_level_nb_cell_x,
Int64 current_level_nb_cell_y,
Int64 current_level_nb_cell_z,
Int32 current_level,
Int64 cell_adder,
Int64 node_adder,
Int64 face_adder )
private

Definition at line 373 of file CartesianMeshUniqueIdRenumbering.cc.

◆ _applyChildrenCell3DV2()

void Arcane::CartesianMeshUniqueIdRenumbering::_applyChildrenCell3DV2 ( Cell cell,
NewUniqueIdList & new_uids,
Int64 coord_i,
Int64 coord_j,
Int64 coord_k,
Int64 current_level_nb_cell_x,
Int64 current_level_nb_cell_y,
Int64 current_level_nb_cell_z,
Int32 current_level,
Int64 cell_adder,
Int64 node_adder,
Int64 face_adder )
private

Definition at line 599 of file CartesianMeshUniqueIdRenumbering.cc.

◆ _applyFamilyRenumbering()

void Arcane::CartesianMeshUniqueIdRenumbering::_applyFamilyRenumbering ( IItemFamily * family,
VariableItemInt64 & items_new_uid )
private

Definition at line 255 of file CartesianMeshUniqueIdRenumbering.cc.

◆ renumber()

void Arcane::CartesianMeshUniqueIdRenumbering::renumber ( )

Definition at line 125 of file CartesianMeshUniqueIdRenumbering.cc.

Member Data Documentation

◆ m_cartesian_mesh

ICartesianMesh* Arcane::CartesianMeshUniqueIdRenumbering::m_cartesian_mesh = nullptr
private

Definition at line 57 of file CartesianMeshUniqueIdRenumbering.h.

◆ m_generation_info

ICartesianMeshGenerationInfo* Arcane::CartesianMeshUniqueIdRenumbering::m_generation_info = nullptr
private

Definition at line 58 of file CartesianMeshUniqueIdRenumbering.h.

◆ m_is_verbose

bool Arcane::CartesianMeshUniqueIdRenumbering::m_is_verbose = false
private

Definition at line 60 of file CartesianMeshUniqueIdRenumbering.h.

◆ m_parent_patch

CartesianPatch Arcane::CartesianMeshUniqueIdRenumbering::m_parent_patch
private

Definition at line 59 of file CartesianMeshUniqueIdRenumbering.h.

◆ m_patch_method

Int32 Arcane::CartesianMeshUniqueIdRenumbering::m_patch_method = 1
private

Definition at line 61 of file CartesianMeshUniqueIdRenumbering.h.


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