Arguments for IMeshModifier::addCells(). More...
#include <arcane/core/IMeshModifier.h>
Public Member Functions | |
| MeshModifierAddCellsArgs (Integer nb_cell, Int64ConstArrayView cell_infos) | |
| MeshModifierAddCellsArgs (Integer nb_cell, Int64ConstArrayView cell_infos, Int32ArrayView cell_lids) | |
| Int32 | nbCell () const |
| Int64ConstArrayView | cellInfos () const |
| Int32ArrayView | cellLocalIds () const |
| void | setAllowBuildFaces (bool v) |
| Indicates whether associated faces are allowed to be built. | |
| bool | isAllowBuildFaces () const |
Private Attributes | |
| Int32 | m_nb_cell = 0 |
| Int64ConstArrayView | m_cell_infos |
| Int32ArrayView | m_cell_lids |
| Returns, list of localIds() of the created cells. | |
| bool | m_is_allow_build_faces = true |
Arguments for IMeshModifier::addCells().
The format of cellsInfos() is identical to that of the IMesh::allocateCells() method. If cellsLocalIds() is not empty, it will contain the local IDs of the created cells.
If an added cell has the same uniqueId() as an existing cell, the existing cell is kept as is and nothing happens.
The created cells are considered to belong to this subdomain. If this is not the case, their ownership must be modified afterwards.
By default, when adding cells, if the associated faces do not exist, they are created automatically. This is only possible in sequential mode. It is possible to disable this by calling setAllowBuildFaces(). In parallel, the value of isAllowBuildFaces() is ignored.
Definition at line 57 of file IMeshModifier.h.
|
inline |
Definition at line 61 of file IMeshModifier.h.
|
inline |
Definition at line 66 of file IMeshModifier.h.
|
inline |
Definition at line 76 of file IMeshModifier.h.
|
inline |
Definition at line 77 of file IMeshModifier.h.
|
inline |
Definition at line 81 of file IMeshModifier.h.
|
inline |
Definition at line 75 of file IMeshModifier.h.
|
inline |
Indicates whether associated faces are allowed to be built.
Definition at line 80 of file IMeshModifier.h.
Referenced by Arcane::CartesianMeshCoarsening2::_createCoarseCells2D(), and Arcane::CartesianMeshCoarsening2::_createCoarseCells3D().
|
private |
Definition at line 86 of file IMeshModifier.h.
|
private |
Returns, list of localIds() of the created cells.
Definition at line 88 of file IMeshModifier.h.
|
private |
Definition at line 89 of file IMeshModifier.h.
|
private |
Definition at line 85 of file IMeshModifier.h.