In dimension 2, finds common faces between two cells (The faces are actually edges). More...
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 |
In dimension 2, finds common faces between two cells (The faces are actually edges).
Definition at line 369 of file CellMerger.cc.
|
inline |
Constructs the different data structures.
| i_cell_1 | the first cell |
| i_cell_2 | the second cell |
| common_face | the 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().
|
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.
| i_cell | the cell studied |
| edge_face_list | the list of face numbers |
| common_face_number | the number of the common face in cell i_cell |
| common_face_nodes | the 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().
Access the number in mesh 1 of the i-th face to be merged.
| i | number in the list of cells to be merged |
Definition at line 462 of file CellMerger.cc.
References m_cell1_edge_face_list.
Referenced by Arcane::mesh::CellToQuadrilateralMerger::CellToQuadrilateralMerger().
Access the number in mesh 2 of the i-th face to be merged.
| i | number in the list of cells to be merged |
Definition at line 474 of file CellMerger.cc.
Referenced by Arcane::mesh::CellToQuadrilateralMerger::CellToQuadrilateralMerger().
|
inline |
Read-only access to the number of common edges
Definition at line 450 of file CellMerger.cc.
References m_cell1_edge_face_list.
Referenced by Arcane::mesh::CellToQuadrilateralMerger::CellToQuadrilateralMerger().
|
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().
|
private |
Definition at line 381 of file CellMerger.cc.