Class for calculating the uniqueId() of a face in 2D based on its position in the grid. More...
Public Member Functions | |
| FaceUniqueIdComputer2D (Int64 base_offset, Int64 nb_cell_x, Int64 nb_face_x, Int64 nb_face_dir_x) | |
| std::array< Int64, 4 > | computeForCell (Int64 x, Int64 y) |
| Calculates the uniqueIds() of the 4 faces of the topological coordinate cell (x,y). | |
Private Attributes | |
| Int64 | m_base_offset |
| Int64 | m_nb_cell_x |
| Int64 | m_nb_face_x |
| Int64 | m_nb_face_dir_x |
Class for calculating the uniqueId() of a face in 2D based on its position in the grid.
Definition at line 132 of file CartesianGridDimension.h.
|
inline |
Definition at line 136 of file CartesianGridDimension.h.
|
inline |
Calculates the uniqueIds() of the 4 faces of the topological coordinate cell (x,y).
Definition at line 146 of file CartesianGridDimension.h.
Referenced by Arcane::CartesianMeshCoarsening2::_createCoarseCells2D(), Arcane::mesh::CartesianFaceUniqueIdBuilder::computeFacesUniqueIdAndOwner(), and Arcane::CartesianMeshCoarsening::createCoarseCells().
|
private |
Definition at line 163 of file CartesianGridDimension.h.
|
private |
Definition at line 164 of file CartesianGridDimension.h.
|
private |
Definition at line 166 of file CartesianGridDimension.h.
|
private |
Definition at line 165 of file CartesianGridDimension.h.