AMR Patch of a Cartesian mesh. More...
#include <arcane/cartesianmesh/CartesianPatch.h>
Public Member Functions | |
| CartesianPatch ()=default | |
| Null patch. | |
| CartesianPatch (ICartesianMeshPatch *patch_interface) | |
| Null patch. | |
| CartesianPatch & | operator= (const CartesianPatch &)=default |
| CartesianPatch & | operator= (ICartesianMeshPatch *patch_interface) |
| CellGroup | cells () const |
| Cell group of the patch (including overlap cells). | |
| CellGroup | inPatchCells () const |
| Cell group of the patch (excluding overlap cells). | |
| CellGroup | overlapCells () const |
| Overlap cell group of the patch. | |
| Integer | index () const |
| Index of the patch in the patch array. | |
| Integer | level () const |
| Patch level. | |
| CellDirectionMng & | cellDirection (eMeshDirection dir) |
| List of cells in direction dir. | |
| CellDirectionMng & | cellDirection (Integer idir) |
| List of cells in direction dir (0, 1 or 2). | |
| FaceDirectionMng & | faceDirection (eMeshDirection dir) |
| List of faces in direction dir. | |
| FaceDirectionMng & | faceDirection (Integer idir) |
| List of faces in direction dir (0, 1 or 2). | |
| NodeDirectionMng & | nodeDirection (eMeshDirection dir) |
| List of nodes in direction dir. | |
| NodeDirectionMng & | nodeDirection (Integer idir) |
| List of nodes in direction dir (0, 1 or 2). | |
| void | checkValid () const |
| Performs checks on the instance validity. | |
| AMRPatchPosition | position () const |
| Method to retrieve the patch position in the Cartesian mesh. | |
| bool | isNull () const |
| Indicates if the patch is null. | |
| ICartesianMeshPatch * | patchInterface () const |
| Interface associated with the patch (for compatibility with existing code). | |
AMR Patch of a Cartesian mesh.
Definition at line 33 of file CartesianPatch.h.
|
inlineexplicit |
Null patch.
Definition at line 41 of file CartesianPatch.h.
|
inline |
List of cells in direction dir.
Definition at line 86 of file CartesianPatch.h.
References ARCANE_CHECK_POINTER.
|
inline |
List of cells in direction dir (0, 1 or 2).
Definition at line 93 of file CartesianPatch.h.
References ARCANE_CHECK_POINTER.
| CellGroup Arcane::CartesianPatch::cells | ( | ) | const |
Cell group of the patch (including overlap cells).
Definition at line 27 of file CartesianPatch.cc.
References ARCANE_CHECK_POINTER.
|
inline |
Performs checks on the instance validity.
Definition at line 128 of file CartesianPatch.h.
References ARCANE_CHECK_POINTER.
|
inline |
List of faces in direction dir.
Definition at line 100 of file CartesianPatch.h.
References ARCANE_CHECK_POINTER.
|
inline |
List of faces in direction dir (0, 1 or 2).
Definition at line 107 of file CartesianPatch.h.
References ARCANE_CHECK_POINTER.
| Integer Arcane::CartesianPatch::index | ( | ) | const |
Index of the patch in the patch array.
Definition at line 47 of file CartesianPatch.cc.
References ARCANE_CHECK_POINTER.
Referenced by overlapCells().
| CellGroup Arcane::CartesianPatch::inPatchCells | ( | ) | const |
Cell group of the patch (excluding overlap cells).
Valid only with AMR type 3 (PatchCartesianMeshOnly).
Definition at line 37 of file CartesianPatch.cc.
References ARCANE_CHECK_POINTER.
|
inline |
Indicates if the patch is null.
Definition at line 147 of file CartesianPatch.h.
|
inline |
Patch level.
Valid only with AMR type 3 (PatchCartesianMeshOnly).
Definition at line 79 of file CartesianPatch.h.
References ARCANE_CHECK_POINTER.
|
inline |
List of nodes in direction dir.
Definition at line 114 of file CartesianPatch.h.
References ARCANE_CHECK_POINTER.
|
inline |
List of nodes in direction dir (0, 1 or 2).
Definition at line 121 of file CartesianPatch.h.
References ARCANE_CHECK_POINTER.
|
inline |
Definition at line 46 of file CartesianPatch.h.
| CellGroup Arcane::CartesianPatch::overlapCells | ( | ) | const |
Overlap cell group of the patch.
Valid only with AMR type 3 (PatchCartesianMeshOnly).
References index().
|
inline |
Interface associated with the patch (for compatibility with existing code).
Definition at line 150 of file CartesianPatch.h.
|
inline |
Method to retrieve the patch position in the Cartesian mesh.
Definition at line 140 of file CartesianPatch.h.
References ARCANE_CHECK_POINTER.