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

Cell before and after a cell along a direction. More...

#include <arcane/cartesianmesh/CellDirectionMng.h>

Public Member Functions

constexpr __host__ __device__ DirCellLocalId (CellLocalId n, CellLocalId p)
constexpr __host__ __device__ CellLocalId previous () const
 Previous cell.
constexpr __host__ __device__ CellLocalId previousId () const
 Previous cell.
constexpr __host__ __device__ CellLocalId next () const
 Next cell.
constexpr __host__ __device__ CellLocalId nextId () const
 Next cell.

Detailed Description

Cell before and after a cell along a direction.

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

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

Constructor & Destructor Documentation

◆ DirCellLocalId()

__host__ __device__ Arcane::DirCellLocalId::DirCellLocalId ( CellLocalId n,
CellLocalId p )
inlineconstexpr

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

Member Function Documentation

◆ next()

__host__ __device__ CellLocalId Arcane::DirCellLocalId::next ( ) const
inlineconstexpr

Next cell.

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

◆ nextId()

__host__ __device__ CellLocalId Arcane::DirCellLocalId::nextId ( ) const
inlineconstexpr

Next cell.

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

◆ previous()

__host__ __device__ CellLocalId Arcane::DirCellLocalId::previous ( ) const
inlineconstexpr

Previous cell.

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

◆ previousId()

__host__ __device__ CellLocalId Arcane::DirCellLocalId::previousId ( ) const
inlineconstexpr

Previous cell.

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


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