Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::DirCellNodeLocalId Class Reference

Cell with directional node information. More...

#include <arcane/cartesianmesh/CellDirectionMng.h>

Collaboration diagram for Arcane::DirCellNodeLocalId:

Public Member Functions

__host__ __device__ CellLocalId cellId () const
 Associated cell.
__host__ __device__ NodeLocalId nextLeftId () const
 Node forward left in the direction.
__host__ __device__ NodeLocalId nextRightId () const
 Node forward right in the direction.
__host__ __device__ NodeLocalId previousRightId () const
 Node backward right in the direction.
__host__ __device__ NodeLocalId previousLeftId () const
 Node backward left in the direction.
__host__ __device__ NodeLocalId topNextLeftId () const
 Node forward left in the direction.
__host__ __device__ NodeLocalId topNextRightId () const
 Node forward right in the direction.
__host__ __device__ NodeLocalId topPreviousRightId () const
 Node backward right in the direction.
__host__ __device__ NodeLocalId topPreviousLeftId () const
 Node backward left in the direction.

Private Types

using Int8 = std::int8_t

Private Member Functions

__host__ __device__ DirCellNodeLocalId (CellLocalId c, const Int8 *nodes_indirection, IndexedCellNodeConnectivityView view)

Private Attributes

friend CellDirectionMng
CellLocalId m_cell
const Int8 * m_nodes_indirection
IndexedCellNodeConnectivityView m_view

Detailed Description

Cell with directional node information.

Instances of this class are temporary and constructed via CellDirectionMng::cellNode().

Definition at line 182 of file src/arcane/cartesianmesh/CellDirectionMng.h.

Member Typedef Documentation

◆ Int8

using Arcane::DirCellNodeLocalId::Int8 = std::int8_t
private

Definition at line 185 of file src/arcane/cartesianmesh/CellDirectionMng.h.

Constructor & Destructor Documentation

◆ DirCellNodeLocalId()

__host__ __device__ Arcane::DirCellNodeLocalId::DirCellNodeLocalId ( CellLocalId c,
const Int8 * nodes_indirection,
IndexedCellNodeConnectivityView view )
inlineprivate

Definition at line 189 of file src/arcane/cartesianmesh/CellDirectionMng.h.

Member Function Documentation

◆ cellId()

__host__ __device__ CellLocalId Arcane::DirCellNodeLocalId::cellId ( ) const
inline

Associated cell.

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

◆ nextLeftId()

__host__ __device__ NodeLocalId Arcane::DirCellNodeLocalId::nextLeftId ( ) const
inline

Node forward left in the direction.

Definition at line 201 of file src/arcane/cartesianmesh/CellDirectionMng.h.

◆ nextRightId()

__host__ __device__ NodeLocalId Arcane::DirCellNodeLocalId::nextRightId ( ) const
inline

Node forward right in the direction.

Definition at line 203 of file src/arcane/cartesianmesh/CellDirectionMng.h.

◆ previousLeftId()

__host__ __device__ NodeLocalId Arcane::DirCellNodeLocalId::previousLeftId ( ) const
inline

Node backward left in the direction.

Definition at line 207 of file src/arcane/cartesianmesh/CellDirectionMng.h.

◆ previousRightId()

__host__ __device__ NodeLocalId Arcane::DirCellNodeLocalId::previousRightId ( ) const
inline

Node backward right in the direction.

Definition at line 205 of file src/arcane/cartesianmesh/CellDirectionMng.h.

◆ topNextLeftId()

__host__ __device__ NodeLocalId Arcane::DirCellNodeLocalId::topNextLeftId ( ) const
inline

Node forward left in the direction.

Definition at line 210 of file src/arcane/cartesianmesh/CellDirectionMng.h.

◆ topNextRightId()

__host__ __device__ NodeLocalId Arcane::DirCellNodeLocalId::topNextRightId ( ) const
inline

Node forward right in the direction.

Definition at line 212 of file src/arcane/cartesianmesh/CellDirectionMng.h.

◆ topPreviousLeftId()

__host__ __device__ NodeLocalId Arcane::DirCellNodeLocalId::topPreviousLeftId ( ) const
inline

Node backward left in the direction.

Definition at line 216 of file src/arcane/cartesianmesh/CellDirectionMng.h.

◆ topPreviousRightId()

__host__ __device__ NodeLocalId Arcane::DirCellNodeLocalId::topPreviousRightId ( ) const
inline

Node backward right in the direction.

Definition at line 214 of file src/arcane/cartesianmesh/CellDirectionMng.h.

Member Data Documentation

◆ CellDirectionMng

friend Arcane::DirCellNodeLocalId::CellDirectionMng
private

Definition at line 184 of file src/arcane/cartesianmesh/CellDirectionMng.h.

◆ m_cell

CellLocalId Arcane::DirCellNodeLocalId::m_cell
private

Definition at line 220 of file src/arcane/cartesianmesh/CellDirectionMng.h.

◆ m_nodes_indirection

const Int8* Arcane::DirCellNodeLocalId::m_nodes_indirection
private

Definition at line 221 of file src/arcane/cartesianmesh/CellDirectionMng.h.

◆ m_view

IndexedCellNodeConnectivityView Arcane::DirCellNodeLocalId::m_view
private

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


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