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

Index of a ConstituentItem in a variable. More...

#include <arcane/core/materials/ConstituentItemLocalId.h>

Inheritance diagram for Arcane::Materials::ConstituentItemLocalId:
Collaboration diagram for Arcane::Materials::ConstituentItemLocalId:

Public Member Functions

constexpr __host__ __device__ ConstituentItemLocalId (MatVarIndex mvi)
constexpr __host__ __device__ MatVarIndex localId () const
 Generic index to access variable values.

Private Attributes

MatVarIndex m_local_id

Friends

std::ostream & operator<< (std::ostream &o, const ConstituentItemLocalId &mvi)

Detailed Description

Index of a ConstituentItem in a variable.

Definition at line 32 of file ConstituentItemLocalId.h.

Constructor & Destructor Documentation

◆ ConstituentItemLocalId() [1/2]

__host__ __device__ Arcane::Materials::ConstituentItemLocalId::ConstituentItemLocalId ( )
inlineconstexpr

Definition at line 36 of file ConstituentItemLocalId.h.

◆ ConstituentItemLocalId() [2/2]

__host__ __device__ Arcane::Materials::ConstituentItemLocalId::ConstituentItemLocalId ( MatVarIndex mvi)
inlineexplicitconstexpr

Definition at line 39 of file ConstituentItemLocalId.h.

Member Function Documentation

◆ localId()

__host__ __device__ MatVarIndex Arcane::Materials::ConstituentItemLocalId::localId ( ) const
inlineconstexpr

◆ operator<<

std::ostream & operator<< ( std::ostream & o,
const ConstituentItemLocalId & mvi )
friend

Definition at line 27 of file ConstituentItemLocalId.cc.

Member Data Documentation

◆ m_local_id

MatVarIndex Arcane::Materials::ConstituentItemLocalId::m_local_id
private

Definition at line 55 of file ConstituentItemLocalId.h.


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