Info about nodes in a specific direction X, Y, or Z of a structured mesh. More...
#include <arcane/cartesianmesh/NodeDirectionMng.h>
Classes | |
| class | Impl |
Public Member Functions | |
| NodeDirectionMng () | |
| Creates an empty instance. | |
| DirNode | node (Node n) const |
| Direction node corresponding to node n. | |
| DirNode | node (NodeLocalId n) const |
| Direction node corresponding to node n. | |
| DirNode | dirNode (NodeLocalId n) const |
| Direction node corresponding to node n. | |
| __host__ __device__ DirNodeLocalId | dirNodeId (NodeLocalId n) const |
| Direction node ID corresponding to node n. | |
| NodeGroup | allNodes () const |
| Group of all nodes in the direction. | |
| NodeGroup | overlapNodes () const |
| Group of all overlap nodes in the direction. | |
| NodeGroup | inPatchNodes () const |
| Group of all patch nodes in the direction. | |
| NodeGroup | innerNodes () const |
| Group of all inner nodes in the direction. | |
| NodeGroup | outerNodes () const |
| Group of all outer nodes in the direction. | |
| DirNode | operator[] (Node n) |
| Direction node corresponding to node n. | |
| DirNode | operator[] (NodeLocalId n) const |
| Direction node corresponding to node n. | |
| DirNode | operator[] (NodeEnumerator inode) const |
| Direction node corresponding to the node iterator inode. | |
| eMeshDirection | direction () const |
| Direction value. | |
Protected Member Functions | |
| void | _internalComputeInfos (const CellDirectionMng &cell_dm, const NodeGroup &all_nodes, const VariableCellReal3 &cells_center) |
| void | _internalComputeInfos (const CellDirectionMng &cell_dm, const NodeGroup &all_nodes) |
| void | _internalInit (ICartesianMesh *cm, eMeshDirection dir, Integer patch_index) |
| void | _internalDestroy () |
| void | _internalResizeInfos (Int32 new_size) |
| Resizes the container holding the ItemDirectionInfo. | |
Info about nodes in a specific direction X, Y, or Z of a structured mesh.
Definition at line 255 of file src/arcane/cartesianmesh/NodeDirectionMng.h.
| Arcane::NodeDirectionMng::NodeDirectionMng | ( | ) |
Creates an empty instance.
The instance is not valid until _internalInit() has been called.
Definition at line 67 of file NodeDirectionMng.cc.
References Arcane::MD_DirInvalid.
|
protected |
Definition at line 190 of file NodeDirectionMng.cc.
|
protected |
Definition at line 115 of file NodeDirectionMng.cc.
|
protected |
Definition at line 95 of file NodeDirectionMng.cc.
|
protected |
Definition at line 80 of file NodeDirectionMng.cc.
|
protected |
Resizes the container holding the ItemDirectionInfo.
This invalidates current instances of NodeDirectionMng.
Definition at line 105 of file NodeDirectionMng.cc.
References Arccore::Array< T >::resize().
| NodeGroup Arcane::NodeDirectionMng::allNodes | ( | ) | const |
Group of all nodes in the direction.
Definition at line 547 of file NodeDirectionMng.cc.
|
inline |
Direction value.
Definition at line 405 of file src/arcane/cartesianmesh/NodeDirectionMng.h.
|
inline |
Direction node corresponding to node n.
Definition at line 321 of file src/arcane/cartesianmesh/NodeDirectionMng.h.
|
inline |
Direction node ID corresponding to node n.
Definition at line 327 of file src/arcane/cartesianmesh/NodeDirectionMng.h.
| NodeGroup Arcane::NodeDirectionMng::innerNodes | ( | ) | const |
Group of all inner nodes in the direction.
A node is considered inner if its previous or next node is not null.
Definition at line 574 of file NodeDirectionMng.cc.
| NodeGroup Arcane::NodeDirectionMng::inPatchNodes | ( | ) | const |
Group of all patch nodes in the direction.
Patch nodes are nodes that do not have all their cells as overlap cells. TODO reformulate (innerNodes() + outerNodes() or simply !overlapNodes())
Definition at line 565 of file NodeDirectionMng.cc.
Direction node corresponding to node n.
Definition at line 309 of file src/arcane/cartesianmesh/NodeDirectionMng.h.
References Arcane::Item::localId().
|
inline |
Direction node corresponding to node n.
Definition at line 315 of file src/arcane/cartesianmesh/NodeDirectionMng.h.
Direction node corresponding to node n.
Definition at line 387 of file src/arcane/cartesianmesh/NodeDirectionMng.h.
References Arcane::Item::localId().
|
inline |
Direction node corresponding to the node iterator inode.
Definition at line 399 of file src/arcane/cartesianmesh/NodeDirectionMng.h.
References Arcane::ItemEnumeratorBase::itemLocalId().
|
inline |
Direction node corresponding to node n.
Definition at line 393 of file src/arcane/cartesianmesh/NodeDirectionMng.h.
| NodeGroup Arcane::NodeDirectionMng::outerNodes | ( | ) | const |
Group of all outer nodes in the direction.
A node is considered outer if its previous or next node is overlap or is null (if it is at the domain boundary or if there are no overlap cell layers).
Definition at line 583 of file NodeDirectionMng.cc.
| NodeGroup Arcane::NodeDirectionMng::overlapNodes | ( | ) | const |
Group of all overlap nodes in the direction.
An overlap node is a node that only has overlap cells around it.
0 1 2 3 4 ┌───┬──┬──┬──┬──┐ │ │ │ │ │ │ │ ├──┼──┼──┼──┤ │ │ │ │ │ │ └───┴──┴──┴──┴──┘
0 : level -1 1 and 2 : Overlap cells (overlapCells) 3 : Outer cells (outerCells) 4 : Inner cells (innerCells)
The overlap cell layer designates the layer of cells of the same level around the patch. These cells may belong to one or more patches.
Definition at line 556 of file NodeDirectionMng.cc.