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

Utility class for swapping entities between two entities. More...

Inheritance diagram for Arcane::mesh::ItemSwapperUtils:
Collaboration diagram for Arcane::mesh::ItemSwapperUtils:

Public Member Functions

 ItemSwapperUtils (IMesh *mesh)
void swapFaceNodes (Face face_1, Face face_2, Integer face1_node_idx, Integer face2_node_idx)
 Swaps two nodes between two faces.
void swapCellNodes (Cell cell1, Cell cell2, Integer cell1_node_idx, Integer cell2_node_idx)
 Swaps two nodes between two cells.
void swapCellFaces (Cell cell1, Cell cell2, Integer cell1_face_idx, Integer cell2_face_idx)
 Swaps two faces between two cells.
void checkAndChangeFaceOrientation (Cell cell)
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 Attributes

FaceReorienter m_face_reorienter
IItemFamilyTopologyModifierm_cell_tm
IItemFamilyTopologyModifierm_face_tm
IItemFamilyTopologyModifierm_node_tm

Additional Inherited Members

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

Detailed Description

Utility class for swapping entities between two entities.

Definition at line 44 of file CellMerger.cc.

Constructor & Destructor Documentation

◆ ItemSwapperUtils()

Arcane::mesh::ItemSwapperUtils::ItemSwapperUtils ( IMesh * mesh)
inlineexplicit

Definition at line 49 of file CellMerger.cc.

Member Function Documentation

◆ checkAndChangeFaceOrientation()

void Arcane::mesh::ItemSwapperUtils::checkAndChangeFaceOrientation ( Cell cell)
inline

Definition at line 117 of file CellMerger.cc.

◆ swapCellFaces()

void Arcane::mesh::ItemSwapperUtils::swapCellFaces ( Cell cell1,
Cell cell2,
Integer cell1_face_idx,
Integer cell2_face_idx )
inline

Swaps two faces between two cells.

Swaps the face at index cell1_face_idx of cell cell1 with the face at index cell2_face_idx of cell cell2.

Definition at line 104 of file CellMerger.cc.

References Arcane::Cell::face().

Referenced by Arcane::mesh::CellToHexahedronMerger::CellToHexahedronMerger(), and Arcane::mesh::CellToQuadrilateralMerger::CellToQuadrilateralMerger().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ swapCellNodes()

void Arcane::mesh::ItemSwapperUtils::swapCellNodes ( Cell cell1,
Cell cell2,
Integer cell1_node_idx,
Integer cell2_node_idx )
inline

Swaps two nodes between two cells.

Swaps the node at index cell1_node_idx of cell cell1 with the node at index cell2_node_idx of cell cell2.

Definition at line 85 of file CellMerger.cc.

References Arcane::ItemWithNodes::node().

Referenced by Arcane::mesh::CellToHexahedronMerger::CellToHexahedronMerger(), and Arcane::mesh::CellToQuadrilateralMerger::CellToQuadrilateralMerger().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ swapFaceNodes()

void Arcane::mesh::ItemSwapperUtils::swapFaceNodes ( Face face_1,
Face face_2,
Integer face1_node_idx,
Integer face2_node_idx )
inline

Swaps two nodes between two faces.

Swaps the node at index face1_node_idx of face face1 with the node at index face2_node_idx of face face2.

Definition at line 66 of file CellMerger.cc.

References Arcane::ItemWithNodes::node().

Referenced by Arcane::mesh::Faces2DMerger::Faces2DMerger(), and Arcane::mesh::FaceToQuadrilateralMerger::FaceToQuadrilateralMerger().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_cell_tm

IItemFamilyTopologyModifier* Arcane::mesh::ItemSwapperUtils::m_cell_tm
private

Definition at line 128 of file CellMerger.cc.

◆ m_face_reorienter

FaceReorienter Arcane::mesh::ItemSwapperUtils::m_face_reorienter
private

Definition at line 127 of file CellMerger.cc.

◆ m_face_tm

IItemFamilyTopologyModifier* Arcane::mesh::ItemSwapperUtils::m_face_tm
private

Definition at line 129 of file CellMerger.cc.

◆ m_node_tm

IItemFamilyTopologyModifier* Arcane::mesh::ItemSwapperUtils::m_node_tm
private

Definition at line 130 of file CellMerger.cc.


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