Class for calculating the uniqueId() of a cell in 3D based on its position in the grid. More...
Public Member Functions | |
| CellUniqueIdComputer3D (Int64 base_offset, Int64 all_nb_cell_x, Int64 all_nb_cell_xy) | |
| Int64 | compute (Int64 x, Int64 y, Int64 z) |
| Calculates the uniqueId() based on coordinates. | |
| Int64x3 | compute (Int64 unique_id) |
| Calculates the coordinates based on the uniqueId(). | |
Private Attributes | |
| Int64 | m_base_offset |
| Int64 | m_all_nb_cell_x |
| Int64 | m_all_nb_cell_xy |
Class for calculating the uniqueId() of a cell in 3D based on its position in the grid.
Definition at line 215 of file CartesianGridDimension.h.
|
inline |
Definition at line 219 of file CartesianGridDimension.h.
|
inline |
Calculates the coordinates based on the uniqueId().
Definition at line 233 of file CartesianGridDimension.h.
|
inline |
Calculates the uniqueId() based on coordinates.
Definition at line 228 of file CartesianGridDimension.h.
Referenced by Arcane::CartesianMeshCoarsening2::_createCoarseCells3D(), and Arcane::mesh::CartesianFaceUniqueIdBuilder::computeFacesUniqueIdAndOwner().
|
private |
Definition at line 246 of file CartesianGridDimension.h.
|
private |
Definition at line 247 of file CartesianGridDimension.h.
|
private |
Definition at line 245 of file CartesianGridDimension.h.