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

In dimension 2, finds common faces between two cells (The faces are actually edges). More...

Collaboration diagram for Arcane::mesh::Faces2DToMergeFinder:

Public Member Functions

Integer getNumber () const
Integer cell1FaceNumber (Integer i) const
Integer cell2FaceNumber (Integer i) const
 Faces2DToMergeFinder (Cell cell1, Cell cell2, const CommonFaceFinder &common_face)

Private Member Functions

void _setEdgeFaceList (Cell i_cell, IntegerArray &edge_face_list, Integer common_face_number, const CommonFaceFinder::NodesLIDSet &common_face_nodes)

Private Attributes

IntegerUniqueArray m_cell1_edge_face_list
IntegerUniqueArray m_cell2_edge_face_list

Detailed Description

In dimension 2, finds common faces between two cells (The faces are actually edges).

Definition at line 369 of file CellMerger.cc.

Constructor & Destructor Documentation

◆ Faces2DToMergeFinder()

Arcane::mesh::Faces2DToMergeFinder::Faces2DToMergeFinder ( Cell cell1,
Cell cell2,
const CommonFaceFinder & common_face )
inline

Constructs the different data structures.

Parameters
i_cell_1the first cell
i_cell_2the second cell
common_facethe information on the common face

Definition at line 486 of file CellMerger.cc.

References _setEdgeFaceList(), Arcane::mesh::CommonFaceFinder::cell1LocalNumber(), Arcane::mesh::CommonFaceFinder::cell2LocalNumber(), m_cell1_edge_face_list, and Arcane::mesh::CommonFaceFinder::nodesLID().

Here is the call graph for this function:

Member Function Documentation

◆ _setEdgeFaceList()

void Arcane::mesh::Faces2DToMergeFinder::_setEdgeFaceList ( Cell i_cell,
IntegerArray & edge_face_list,
Integer common_face_number,
const CommonFaceFinder::NodesLIDSet & common_face_nodes )
inlineprivate

Determines the faces to be merged by considering the edges that are supported by the common nodes between the cells. For this, the faces are sorted according to the edges supported by common nodes.

Parameters
i_cellthe cell studied
edge_face_listthe list of face numbers
common_face_numberthe number of the common face in cell i_cell
common_face_nodesthe localIds of the nodes of the common face

Definition at line 394 of file CellMerger.cc.

References Arcane::Array< T >::add(), ARCANE_FATAL, Arcane::Cell::faces(), and Arcane::Array< T >::reserve().

Referenced by Faces2DToMergeFinder().

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

◆ cell1FaceNumber()

Integer Arcane::mesh::Faces2DToMergeFinder::cell1FaceNumber ( Integer i) const
inline

Access the number in mesh 1 of the i-th face to be merged.

Parameters
inumber in the list of cells to be merged
Returns
the number of the i-th face to be merged

Definition at line 462 of file CellMerger.cc.

References m_cell1_edge_face_list.

Referenced by Arcane::mesh::CellToQuadrilateralMerger::CellToQuadrilateralMerger().

Here is the caller graph for this function:

◆ cell2FaceNumber()

Integer Arcane::mesh::Faces2DToMergeFinder::cell2FaceNumber ( Integer i) const
inline

Access the number in mesh 2 of the i-th face to be merged.

Parameters
inumber in the list of cells to be merged
Returns
the number of the i-th face to be merged

Definition at line 474 of file CellMerger.cc.

Referenced by Arcane::mesh::CellToQuadrilateralMerger::CellToQuadrilateralMerger().

Here is the caller graph for this function:

◆ getNumber()

Integer Arcane::mesh::Faces2DToMergeFinder::getNumber ( ) const
inline

Read-only access to the number of common edges

Returns
m_cell1_edge_face_list.size()

Definition at line 450 of file CellMerger.cc.

References m_cell1_edge_face_list.

Referenced by Arcane::mesh::CellToQuadrilateralMerger::CellToQuadrilateralMerger().

Here is the caller graph for this function:

Member Data Documentation

◆ m_cell1_edge_face_list

IntegerUniqueArray Arcane::mesh::Faces2DToMergeFinder::m_cell1_edge_face_list
private

These lists containing the numbers of the common faces of the two cells are constructed so that the face m_cell1_edge_face_list[i] is to be merged with the face m_cell2_edge_face_list[i]

Definition at line 380 of file CellMerger.cc.

Referenced by cell1FaceNumber(), Faces2DToMergeFinder(), and getNumber().

◆ m_cell2_edge_face_list

IntegerUniqueArray Arcane::mesh::Faces2DToMergeFinder::m_cell2_edge_face_list
private

Definition at line 381 of file CellMerger.cc.


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