Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::DirNodeLocalId Class Reference

Node before and after a node following a direction. More...

#include <arcane/cartesianmesh/NodeDirectionMng.h>

Public Member Functions

__host__ __device__ NodeLocalId previous () const
 Previous cell.
__host__ __device__ NodeLocalId previousId () const
 Previous cell.
__host__ __device__ NodeLocalId next () const
 Next cell.
__host__ __device__ NodeLocalId nextId () const
 Next cell.
__host__ __device__ Int32 cellIndex (Int32 position) const
 Index in the list of cells for this node in a cell based on its position.
__host__ __device__ CellLocalId cellId (Int32 position) const
 Local index of a cell based on its position relative to this node.
__host__ __device__ CellLocalId nextLeftCellId () const
 NextLeftCell: Cell in front and to the left in the direction.
__host__ __device__ CellLocalId nextRightCellId () const
 NextRightCell: Cell in front and to the right in the direction.
__host__ __device__ CellLocalId previousRightCellId () const
 PreviousRightCell: Cell behind and to the right in the direction.
__host__ __device__ CellLocalId previousLeftCellId () const
 PreviousLeftCell: Cell behind and to the left in the direction.
__host__ __device__ CellLocalId topNextLeftCellId () const
 TopNextLeftCell: Cell in front and to the left in the direction.
__host__ __device__ CellLocalId topNextRightCellId () const
 TopNextRightCell: Cell in front and to the right in the direction.
__host__ __device__ CellLocalId topPreviousRightCellId () const
 TopPreviousRightCell: Cell behind and to the right in the direction.
__host__ __device__ CellLocalId topPreviousLeftCellId () const
 TopPreviousLeftCell: Cell behind and to the left in the direction.

Detailed Description

Node before and after a node following a direction.

Instances of this class are temporary and constructed via NodeDirectionMng::dirNodeId().

Definition at line 169 of file src/arcane/cartesianmesh/NodeDirectionMng.h.

Member Function Documentation

◆ cellId()

__host__ __device__ CellLocalId Arcane::DirNodeLocalId::cellId ( Int32 position) const
inline

Local index of a cell based on its position relative to this node.

Possible values for position are given by the enumeration eCellNodePosition.

Definition at line 215 of file src/arcane/cartesianmesh/NodeDirectionMng.h.

References cellIndex().

Referenced by nextLeftCellId(), nextRightCellId(), previousLeftCellId(), previousRightCellId(), topNextLeftCellId(), topNextRightCellId(), topPreviousLeftCellId(), and topPreviousRightCellId().

◆ cellIndex()

__host__ __device__ Int32 Arcane::DirNodeLocalId::cellIndex ( Int32 position) const
inline

Index in the list of cells for this node in a cell based on its position.

Possible values for position are given by the enumeration eCellNodePosition.

Definition at line 208 of file src/arcane/cartesianmesh/NodeDirectionMng.h.

Referenced by cellId().

◆ next()

__host__ __device__ NodeLocalId Arcane::DirNodeLocalId::next ( ) const
inline

Next cell.

Definition at line 198 of file src/arcane/cartesianmesh/NodeDirectionMng.h.

◆ nextId()

__host__ __device__ NodeLocalId Arcane::DirNodeLocalId::nextId ( ) const
inline

Next cell.

Definition at line 200 of file src/arcane/cartesianmesh/NodeDirectionMng.h.

◆ nextLeftCellId()

__host__ __device__ CellLocalId Arcane::DirNodeLocalId::nextLeftCellId ( ) const
inline

NextLeftCell: Cell in front and to the left in the direction.

Definition at line 222 of file src/arcane/cartesianmesh/NodeDirectionMng.h.

References cellId().

◆ nextRightCellId()

__host__ __device__ CellLocalId Arcane::DirNodeLocalId::nextRightCellId ( ) const
inline

NextRightCell: Cell in front and to the right in the direction.

Definition at line 224 of file src/arcane/cartesianmesh/NodeDirectionMng.h.

References cellId().

◆ previous()

__host__ __device__ NodeLocalId Arcane::DirNodeLocalId::previous ( ) const
inline

Previous cell.

Definition at line 194 of file src/arcane/cartesianmesh/NodeDirectionMng.h.

◆ previousId()

__host__ __device__ NodeLocalId Arcane::DirNodeLocalId::previousId ( ) const
inline

Previous cell.

Definition at line 196 of file src/arcane/cartesianmesh/NodeDirectionMng.h.

◆ previousLeftCellId()

__host__ __device__ CellLocalId Arcane::DirNodeLocalId::previousLeftCellId ( ) const
inline

PreviousLeftCell: Cell behind and to the left in the direction.

Definition at line 228 of file src/arcane/cartesianmesh/NodeDirectionMng.h.

References cellId().

◆ previousRightCellId()

__host__ __device__ CellLocalId Arcane::DirNodeLocalId::previousRightCellId ( ) const
inline

PreviousRightCell: Cell behind and to the right in the direction.

Definition at line 226 of file src/arcane/cartesianmesh/NodeDirectionMng.h.

References cellId().

◆ topNextLeftCellId()

__host__ __device__ CellLocalId Arcane::DirNodeLocalId::topNextLeftCellId ( ) const
inline

TopNextLeftCell: Cell in front and to the left in the direction.

Definition at line 231 of file src/arcane/cartesianmesh/NodeDirectionMng.h.

References cellId().

◆ topNextRightCellId()

__host__ __device__ CellLocalId Arcane::DirNodeLocalId::topNextRightCellId ( ) const
inline

TopNextRightCell: Cell in front and to the right in the direction.

Definition at line 233 of file src/arcane/cartesianmesh/NodeDirectionMng.h.

References cellId().

◆ topPreviousLeftCellId()

__host__ __device__ CellLocalId Arcane::DirNodeLocalId::topPreviousLeftCellId ( ) const
inline

TopPreviousLeftCell: Cell behind and to the left in the direction.

Definition at line 237 of file src/arcane/cartesianmesh/NodeDirectionMng.h.

References cellId().

◆ topPreviousRightCellId()

__host__ __device__ CellLocalId Arcane::DirNodeLocalId::topPreviousRightCellId ( ) const
inline

TopPreviousRightCell: Cell behind and to the right in the direction.

Definition at line 235 of file src/arcane/cartesianmesh/NodeDirectionMng.h.

References cellId().


The documentation for this class was generated from the following file: