Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::CartesianGridDimension::FaceUniqueIdComputer3D 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::FaceUniqueIdComputer3D:

Public Member Functions

 FaceUniqueIdComputer3D (Int64 base_offset, Int64 nb_cell_x, Int64 nb_face_x, Int64x3 nb_face_dir, Int64 total_nb_face_xy, Int64 total_nb_face_x)
std::array< Int64, 6 > computeForCell (Int64 x, Int64 y, Int64 z)
 Calculates the uniqueIds() of the 6 faces of the topological coordinate cell (x,y,z).

Private Attributes

Int64 m_base_offset
Int64 m_nb_cell_x
Int64 m_nb_face_x
Int64x3 m_nb_face_dir
Int64 m_total_nb_face_xy
Int64 m_total_nb_face_x

Detailed Description

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

Definition at line 254 of file CartesianGridDimension.h.

Constructor & Destructor Documentation

◆ FaceUniqueIdComputer3D()

Arcane::CartesianGridDimension::FaceUniqueIdComputer3D::FaceUniqueIdComputer3D ( Int64 base_offset,
Int64 nb_cell_x,
Int64 nb_face_x,
Int64x3 nb_face_dir,
Int64 total_nb_face_xy,
Int64 total_nb_face_x )
inline

Definition at line 258 of file CartesianGridDimension.h.

Member Function Documentation

◆ computeForCell()

std::array< Int64, 6 > Arcane::CartesianGridDimension::FaceUniqueIdComputer3D::computeForCell ( Int64 x,
Int64 y,
Int64 z )
inline

Calculates the uniqueIds() of the 6 faces of the topological coordinate cell (x,y,z).

Definition at line 271 of file CartesianGridDimension.h.

Referenced by Arcane::CartesianMeshCoarsening2::_createCoarseCells3D(), and Arcane::mesh::CartesianFaceUniqueIdBuilder::computeFacesUniqueIdAndOwner().

Here is the caller graph for this function:

Member Data Documentation

◆ m_base_offset

Int64 Arcane::CartesianGridDimension::FaceUniqueIdComputer3D::m_base_offset
private

Definition at line 295 of file CartesianGridDimension.h.

◆ m_nb_cell_x

Int64 Arcane::CartesianGridDimension::FaceUniqueIdComputer3D::m_nb_cell_x
private

Definition at line 296 of file CartesianGridDimension.h.

◆ m_nb_face_dir

Int64x3 Arcane::CartesianGridDimension::FaceUniqueIdComputer3D::m_nb_face_dir
private

Definition at line 298 of file CartesianGridDimension.h.

◆ m_nb_face_x

Int64 Arcane::CartesianGridDimension::FaceUniqueIdComputer3D::m_nb_face_x
private

Definition at line 297 of file CartesianGridDimension.h.

◆ m_total_nb_face_x

Int64 Arcane::CartesianGridDimension::FaceUniqueIdComputer3D::m_total_nb_face_x
private

Definition at line 300 of file CartesianGridDimension.h.

◆ m_total_nb_face_xy

Int64 Arcane::CartesianGridDimension::FaceUniqueIdComputer3D::m_total_nb_face_xy
private

Definition at line 299 of file CartesianGridDimension.h.


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