Information for allocating entities of an unstructured mesh. More...
#include <arcane/core/CartesianMeshAllocateBuildInfo.h>
Classes | |
| class | Impl |
Public Member Functions | |
| CartesianMeshAllocateBuildInfo (IPrimaryMesh *mesh) | |
| CartesianMeshAllocateBuildInfo (CartesianMeshAllocateBuildInfo &&from)=delete | |
| CartesianMeshAllocateBuildInfo (const CartesianMeshAllocateBuildInfo &from)=delete | |
| CartesianMeshAllocateBuildInfo & | operator= (CartesianMeshAllocateBuildInfo &&from)=delete |
| CartesianMeshAllocateBuildInfo & | operator= (const CartesianMeshAllocateBuildInfo &from)=delete |
| void | setInfos3D (std::array< Int64, 3 > global_nb_cells, std::array< Int32, 3 > own_nb_cells, Int64 cell_unique_id_offset, Int64 node_unique_id_offset) |
| Sets the information for a 3D mesh. | |
| void | setInfos3D (const Int64x3 &global_nb_cells, const Int32x3 &own_nb_cells, const Int64x3 &first_own_cell_offset, Int64 cell_unique_id_offset) |
| Sets the information for a 3D mesh. | |
| void | setInfos2D (std::array< Int64, 2 > global_nb_cells, std::array< Int32, 2 > own_nb_cells, Int64 cell_unique_id_offset, Int64 node_unique_id_offset) |
| Sets the information for a 2D mesh. | |
| void | setInfos2D (const Int64x2 &global_nb_cells, const Int32x2 &own_nb_cells, const Int64x2 &first_own_cell_offset, Int64 cell_unique_id_offset) |
| Sets the information for a 2D mesh. | |
| void | allocateMesh () |
| Allocates the mesh. | |
| CartesianMeshAllocateBuildInfoInternal * | _internal () |
| Internal part reserved for Arcane. | |
Private Attributes | |
| Impl * | m_p = nullptr |
Information for allocating entities of an unstructured mesh.
This class allows specifying the cells that will be added during the initial mesh allocation. You must call setMeshDimension() to specify the mesh dimension then call addCell() for each cell you wish to add. Once all cells have been added, you must call allocateMesh().
Definition at line 38 of file CartesianMeshAllocateBuildInfo.h.
|
explicit |
Definition at line 162 of file CartesianMeshAllocateBuildInfo.cc.
| Arcane::CartesianMeshAllocateBuildInfo::~CartesianMeshAllocateBuildInfo | ( | ) |
Definition at line 171 of file CartesianMeshAllocateBuildInfo.cc.
| CartesianMeshAllocateBuildInfoInternal * Arcane::CartesianMeshAllocateBuildInfo::_internal | ( | ) |
Internal part reserved for Arcane.
Definition at line 260 of file CartesianMeshAllocateBuildInfo.cc.
| void Arcane::CartesianMeshAllocateBuildInfo::allocateMesh | ( | ) |
Allocates the mesh.
It is necessary to have called setInfos() beforehand.
This method is collective.
Definition at line 240 of file CartesianMeshAllocateBuildInfo.cc.
References ARCANE_FATAL, Arcane::ITraceMng::info(), Arcane::IPrimaryMesh::initialAllocator(), and Arcane::IMeshBase::traceMng().
| void Arcane::CartesianMeshAllocateBuildInfo::setInfos2D | ( | const Int64x2 & | global_nb_cells, |
| const Int32x2 & | own_nb_cells, | ||
| const Int64x2 & | first_own_cell_offset, | ||
| Int64 | cell_unique_id_offset ) |
Sets the information for a 2D mesh.
Definition at line 193 of file CartesianMeshAllocateBuildInfo.cc.
| void Arcane::CartesianMeshAllocateBuildInfo::setInfos2D | ( | std::array< Int64, 2 > | global_nb_cells, |
| std::array< Int32, 2 > | own_nb_cells, | ||
| Int64 | cell_unique_id_offset, | ||
| Int64 | node_unique_id_offset ) |
Sets the information for a 2D mesh.
Definition at line 180 of file CartesianMeshAllocateBuildInfo.cc.
References setInfos2D().
Referenced by setInfos2D().
| void Arcane::CartesianMeshAllocateBuildInfo::setInfos3D | ( | const Int64x3 & | global_nb_cells, |
| const Int32x3 & | own_nb_cells, | ||
| const Int64x3 & | first_own_cell_offset, | ||
| Int64 | cell_unique_id_offset ) |
Sets the information for a 3D mesh.
Definition at line 223 of file CartesianMeshAllocateBuildInfo.cc.
| void Arcane::CartesianMeshAllocateBuildInfo::setInfos3D | ( | std::array< Int64, 3 > | global_nb_cells, |
| std::array< Int32, 3 > | own_nb_cells, | ||
| Int64 | cell_unique_id_offset, | ||
| Int64 | node_unique_id_offset ) |
Sets the information for a 3D mesh.
Definition at line 210 of file CartesianMeshAllocateBuildInfo.cc.
References setInfos3D().
Referenced by setInfos3D().
|
private |
Definition at line 101 of file CartesianMeshAllocateBuildInfo.h.