15#ifndef ARCANE_CARTESIANMESH_CARTESIANMESHNUMBERINGMNG_H
16#define ARCANE_CARTESIANMESH_CARTESIANMESHNUMBERINGMNG_H
21#include "arcane/cartesianmesh/CartesianMeshGlobal.h"
23#include "arcane/utils/Ref.h"
24#include "arcane/core/Item.h"
35class ICartesianMeshNumberingMngInternal;
49class ARCANE_CARTESIANMESH_EXPORT CartesianMeshNumberingMng
999 ICartesianMeshNumberingMngInternal* _internalApi()
const;
Modifiable view of an array of type T.
Int64 firstFaceUniqueId(Int32 level) const
Method allowing retrieval of the first unique ID used by the faces of a level. Calling this method wi...
Int64 parentFaceUniqueIdOfFace(Int64 uid, Int32 level, bool do_fatal=true) const
Method to retrieve the uniqueId of a face's parent.
CartCoord globalNbNodesZ(Int32 level) const
Method allowing retrieval of the global number of nodes in Z for a level.
Int64 cellUniqueId(CartCoord3 cell_coord, Int32 level) const
Method to retrieve the uniqueId of a cell from its position and level.
Int64 parentNodeUniqueIdOfNode(Int64 uid, Int32 level, bool do_fatal=true) const
Method to retrieve the uniqueId of a node's parent.
Int32 nbNodeByCell() const
Method to retrieve the number of nodes in a cell.
void cellUniqueIdsAroundCell(CartCoord3 cell_coord, Int32 level, ArrayView< Int64 > uid) const
Method to retrieve the uniqueIds of the cells around a cell.
CartCoord cellUniqueIdToCoordX(Int64 uid, Int32 level) const
Method to retrieve the X coordinate of a cell using its uniqueId.
Int64 childFaceUniqueIdOfFace(Int64 uid, Int32 level, Int32 child_index_in_parent) const
Method to retrieve the uniqueId of a child face of a parent face based on the child face's index with...
CartCoord nodeUniqueIdToCoordZ(Int64 uid, Int32 level) const
Method to retrieve the Z coordinate of a node using its uniqueId.
Int64 nbNodeInLevel(Int32 level) const
Method allowing retrieval of the total number of nodes in a level.
CartCoord globalNbFacesXCartesianView(Int32 level) const
Method allowing retrieval of the size of the "Cartesian grid" view containing the faces.
Int32 pattern() const
Method allowing retrieval of the refinement pattern used in each cell. For example,...
Cell childCellOfCell(Cell cell, CartCoord3 child_coord_in_parent) const
Method to retrieve a child cell of a parent cell based on the child cell's position within the parent...
Int64 firstCellUniqueId(Int32 level) const
Method allowing retrieval of the first unique ID used by the cells of a level. Calling this method wi...
CartCoord globalNbFacesY(Int32 level) const
Method allowing retrieval of the global number of faces in Y for a level.
CartCoord globalNbCellsX(Int32 level) const
Method allowing retrieval of the global number of cells in X for a level.
CartCoord globalNbFacesZCartesianView(Int32 level) const
Method allowing retrieval of the size of the "Cartesian grid" view containing the faces.
CartCoord globalNbNodesY(Int32 level) const
Method allowing retrieval of the global number of nodes in Y for a level.
Int64 childNodeUniqueIdOfNode(Int64 uid, Int32 level) const
Method to retrieve the uniqueId of a child node of a parent node.
Int64 parentCellUniqueIdOfCell(Int64 uid, Int32 level, bool do_fatal=true) const
Method to retrieve the uniqueId of a cell's parent.
Int64 nodeUniqueId(CartCoord3 node_coord, Int32 level) const
Method to retrieve the uniqueId of a node from its position and level.
CartCoord nodeUniqueIdToCoordX(Int64 uid, Int32 level) const
Method to retrieve the X coordinate of a node using its uniqueId.
void printStatus() const
Method allowing the description of the object's state.
Int64 childCellUniqueIdOfCell(Cell cell, CartCoord3 child_coord_in_parent) const
Method to retrieve the uniqueId of a child cell of a parent cell based on the child cell's position w...
Int64 firstNodeUniqueId(Int32 level) const
Method allowing retrieval of the first unique ID used by the nodes of a level. Calling this method wi...
CartCoord faceUniqueIdToCoordX(Int64 uid, Int32 level) const
Method to retrieve the X coordinate of a face using its uniqueId.
void cellFaceUniqueIds(CartCoord3 cell_coord, Int32 level, ArrayView< Int64 > uid) const
Method to retrieve the uniqueIds of the faces in a cell from its coordinates.
void cellNodeUniqueIds(CartCoord3 cell_coord, Int32 level, ArrayView< Int64 > uid) const
Method to retrieve the uniqueIds of the nodes in a cell from its coordinates.
CartCoord globalNbFacesYCartesianView(Int32 level) const
Method allowing retrieval of the size of the "Cartesian grid" view containing the faces.
CartCoord globalNbFacesX(Int32 level) const
Method allowing retrieval of the global number of faces in X for a level.
CartCoord globalNbCellsZ(Int32 level) const
Method allowing retrieval of the global number of cells in Z for a level.
Int64 faceUniqueId(CartCoord3 face_coord, Int32 level) const
Method to retrieve the uniqueId of a face from its position and level.
CartCoord faceUniqueIdToCoordZ(Int64 uid, Int32 level) const
Method to retrieve the Z coordinate of a face using its uniqueId.
CartCoord3 cellUniqueIdToCoord(Int64 uid, Int32 level) const
Method to retrieve the coordinates of a cell using its uniqueId.
CartCoord faceOffsetLevelToLevel(CartCoord coord, Int32 level_from, Int32 level_to) const
Method allowing retrieval of the position of the first child face starting from the position of the p...
CartCoord offsetLevelToLevel(CartCoord coord, Int32 level_from, Int32 level_to) const
Method allowing retrieval of the position of the first child node/cell starting from the position of ...
CartCoord nodeUniqueIdToCoordY(Int64 uid, Int32 level) const
Method to retrieve the Y coordinate of a node using its uniqueId.
Int32 nodeLevel(Int64 uid) const
Method allowing retrieval of the level of a node given its unique ID.
void cellUniqueIdsAroundNode(CartCoord3 node_coord, Int32 level, ArrayView< Int64 > uid) const
Method to retrieve the uniqueIds of the cells around a node.
Int64 nbFaceInLevel(Int32 level) const
Method allowing retrieval of the total number of faces in a level.
CartCoord globalNbFacesZ(Int32 level) const
Method allowing retrieval of the global number of faces in Z for a level.
CartCoord globalNbNodesX(Int32 level) const
Method allowing retrieval of the global number of nodes in X for a level.
CartCoord cellUniqueIdToCoordZ(Int64 uid, Int32 level) const
Method to retrieve the Z coordinate of a cell using its uniqueId.
Int32 cellLevel(Int64 uid) const
Method allowing retrieval of the level of a cell given its unique ID.
Int64 nbCellInLevel(Int32 level) const
Method allowing retrieval of the total number of cells in a level.
CartCoord cellUniqueIdToCoordY(Int64 uid, Int32 level) const
Method to retrieve the Y coordinate of a cell using its uniqueId.
CartCoord faceUniqueIdToCoordY(Int64 uid, Int32 level) const
Method to retrieve the Y coordinate of a face using its uniqueId.
Int32 faceLevel(Int64 uid) const
Method allowing retrieval of the level of a face given its unique ID.
CartCoord globalNbCellsY(Int32 level) const
Method allowing retrieval of the global number of cells in Y for a level.
Int32 nbFaceByCell() const
Method to retrieve the number of faces in a cell.
Interface of a Cartesian mesh.
Reference to an instance.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 CartCoord
Represents a coordinate of an element in the Cartesian grid (in X or Y or Z).
std::int64_t Int64
Signed integer type of 64 bits.
Int32x2 CartCoord2
Represents the 2D coordinates of an element in the Cartesian grid {x, y}.
std::int32_t Int32
Signed integer type of 32 bits.
Int32x3 CartCoord3
Represents the 3D coordinates of an element in the Cartesian grid {x, y, z}.