Arcane  4.1.15.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

Generic index to access variable values.

Definition at line 46 of file ConstituentItemLocalId.h.

Referenced by Arcane::Accelerator::MatItemVariableScalarInViewT< ItemType, DataType >::operator[](), Arcane::Accelerator::MatItemVariableScalarOutViewT< ItemType, Accessor >::operator[](), Arcane::Materials::CellEnvironmentVariableArrayRef< DataType >::operator[](), Arcane::Materials::CellEnvironmentVariableArrayRef< DataType >::operator[](), Arcane::Materials::CellEnvironmentVariableScalarRef< DataType >::operator[](), Arcane::Materials::CellEnvironmentVariableScalarRef< DataType >::operator[](), Arcane::Materials::CellMaterialVariableArrayRef< DataType >::operator[](), Arcane::Materials::CellMaterialVariableArrayRef< DataType >::operator[](), Arcane::Materials::CellMaterialVariableScalarRef< DataType >::operator[](), Arcane::Materials::CellMaterialVariableScalarRef< DataType >::operator[](), Arcane::Materials::MatItemVariableScalarInViewT< ItemType, DataType >::operator[](), Arcane::Materials::MatItemVariableScalarOutViewT< ItemType, DataType >::operator[](), Arcane::Materials::MeshMaterialVariableArrayContainerView< const DataType >::operator[](), Arcane::Accelerator::MatItemVariableScalarOutViewT< ItemType, Accessor >::setValue(), Arcane::Accelerator::MatItemVariableScalarInViewT< ItemType, DataType >::value(), and Arcane::Accelerator::MatItemVariableScalarOutViewT< ItemType, Accessor >::value().

Here is the caller graph for this function:

◆ 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: