Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::CartesianGridDimension::FaceUniqueIdComputer2D Class Reference

Class for calculating the uniqueId() of a face in 2D based on its position in the grid. More...

Collaboration diagram for Arcane::CartesianGridDimension::FaceUniqueIdComputer2D:

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ FaceUniqueIdComputer2D()

Arcane::CartesianGridDimension::FaceUniqueIdComputer2D::FaceUniqueIdComputer2D ( Int64 base_offset,
Int64 nb_cell_x,
Int64 nb_face_x,
Int64 nb_face_dir_x )
inline

Definition at line 136 of file CartesianGridDimension.h.

Member Function Documentation

◆ computeForCell()

std::array< Int64, 4 > Arcane::CartesianGridDimension::FaceUniqueIdComputer2D::computeForCell ( Int64 x,
Int64 y )
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().

Here is the caller graph for this function:

Member Data Documentation

◆ m_base_offset

Int64 Arcane::CartesianGridDimension::FaceUniqueIdComputer2D::m_base_offset
private

Definition at line 163 of file CartesianGridDimension.h.

◆ m_nb_cell_x

Int64 Arcane::CartesianGridDimension::FaceUniqueIdComputer2D::m_nb_cell_x
private

Definition at line 164 of file CartesianGridDimension.h.

◆ m_nb_face_dir_x

Int64 Arcane::CartesianGridDimension::FaceUniqueIdComputer2D::m_nb_face_dir_x
private

Definition at line 166 of file CartesianGridDimension.h.

◆ m_nb_face_x

Int64 Arcane::CartesianGridDimension::FaceUniqueIdComputer2D::m_nb_face_x
private

Definition at line 165 of file CartesianGridDimension.h.


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