Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::Materials::MatItemVariableScalarOutViewT< ItemType, DataType > Class Template Reference

Read view on a scalar mesh variable. More...

#include <arcane/materials/ComponentSimd.h>

Public Member Functions

 MatItemVariableScalarOutViewT (IMeshMaterialVariable *var, ArrayView< DataType > *v)
SimdSetter< DataType > operator[] (const SimdMatVarIndex &mvi) const
 Vector access operator with indirection.
DataType & operator[] (ItemIndexType mvi) const
 Access operator for the item entity.
DataType & operator[] (ComponentItemLocalId lid) const
 Access operator for the item entity.
DataType & operator[] (PureMatVarIndex pmvi) const
DataType & value (ItemIndexType mvi) const
 Access operator for the item entity.
DataType & value0 (PureMatVarIndex idx) const
DataType & operator[] (CellComponentCellEnumerator mc) const
 Partial value of the variable for the mc iterator.
DataType & operator[] (EnvCellEnumerator mc) const
 Partial value of the variable for the mc iterator.
Public Member Functions inherited from Arcane::Materials::MatVariableViewBase
 MatVariableViewBase (IMeshMaterialVariable *var)
IMeshMaterialVariablevariable () const

Detailed Description

template<typename ItemType, typename DataType>
class Arcane::Materials::MatItemVariableScalarOutViewT< ItemType, DataType >

Read view on a scalar mesh variable.

Definition at line 322 of file ComponentSimd.h.

Constructor & Destructor Documentation

◆ MatItemVariableScalarOutViewT()

template<typename ItemType, typename DataType>
Arcane::Materials::MatItemVariableScalarOutViewT< ItemType, DataType >::MatItemVariableScalarOutViewT ( IMeshMaterialVariable * var,
ArrayView< DataType > * v )
inline

Definition at line 332 of file ComponentSimd.h.

Member Function Documentation

◆ operator[]() [1/6]

template<typename ItemType, typename DataType>
DataType & Arcane::Materials::MatItemVariableScalarOutViewT< ItemType, DataType >::operator[] ( CellComponentCellEnumerator mc) const
inline

Partial value of the variable for the mc iterator.

Definition at line 373 of file ComponentSimd.h.

References operator[]().

◆ operator[]() [2/6]

template<typename ItemType, typename DataType>
DataType & Arcane::Materials::MatItemVariableScalarOutViewT< ItemType, DataType >::operator[] ( ComponentItemLocalId lid) const
inline

◆ operator[]() [3/6]

template<typename ItemType, typename DataType>
SimdSetter< DataType > Arcane::Materials::MatItemVariableScalarOutViewT< ItemType, DataType >::operator[] ( const SimdMatVarIndex & mvi) const
inline

Vector access operator with indirection.

Definition at line 339 of file ComponentSimd.h.

Referenced by operator[](), and operator[]().

◆ operator[]() [4/6]

template<typename ItemType, typename DataType>
DataType & Arcane::Materials::MatItemVariableScalarOutViewT< ItemType, DataType >::operator[] ( EnvCellEnumerator mc) const
inline

Partial value of the variable for the mc iterator.

Definition at line 379 of file ComponentSimd.h.

References operator[]().

◆ operator[]() [5/6]

template<typename ItemType, typename DataType>
DataType & Arcane::Materials::MatItemVariableScalarOutViewT< ItemType, DataType >::operator[] ( ItemIndexType mvi) const
inline

Access operator for the item entity.

Definition at line 345 of file ComponentSimd.h.

References Arcane::Materials::MatVarIndex::arrayIndex(), and Arcane::Materials::MatVarIndex::valueIndex().

◆ operator[]() [6/6]

template<typename ItemType, typename DataType>
DataType & Arcane::Materials::MatItemVariableScalarOutViewT< ItemType, DataType >::operator[] ( PureMatVarIndex pmvi) const
inline

Definition at line 356 of file ComponentSimd.h.

◆ value()

template<typename ItemType, typename DataType>
DataType & Arcane::Materials::MatItemVariableScalarOutViewT< ItemType, DataType >::value ( ItemIndexType mvi) const
inline

Access operator for the item entity.

Definition at line 362 of file ComponentSimd.h.

References Arcane::Materials::MatVarIndex::arrayIndex(), and Arcane::Materials::MatVarIndex::valueIndex().

◆ value0()

template<typename ItemType, typename DataType>
DataType & Arcane::Materials::MatItemVariableScalarOutViewT< ItemType, DataType >::value0 ( PureMatVarIndex idx) const
inline

Definition at line 367 of file ComponentSimd.h.


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