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

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

#include <arcane/materials/ComponentSimd.h>

Public Member Functions

 MatItemVariableScalarInViewT (IMeshMaterialVariable *var, ArrayView< DataType > *v)
SimdTypeTraits< DataType >::SimdType 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
 Access operator for the item entity.
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::MatItemVariableScalarInViewT< ItemType, DataType >

Read view on a scalar mesh variable.

Definition at line 244 of file ComponentSimd.h.

Constructor & Destructor Documentation

◆ MatItemVariableScalarInViewT()

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

Definition at line 254 of file ComponentSimd.h.

Member Function Documentation

◆ operator[]() [1/6]

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

Partial value of the variable for the mc iterator.

Definition at line 298 of file ComponentSimd.h.

References operator[]().

◆ operator[]() [2/6]

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

◆ operator[]() [3/6]

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

Vector access operator with indirection.

Definition at line 262 of file ComponentSimd.h.

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

◆ operator[]() [4/6]

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

Partial value of the variable for the mc iterator.

Definition at line 304 of file ComponentSimd.h.

References operator[]().

◆ operator[]() [5/6]

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

Access operator for the item entity.

Definition at line 269 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::MatItemVariableScalarInViewT< ItemType, DataType >::operator[] ( PureMatVarIndex pmvi) const
inline

Access operator for the item entity.

Definition at line 281 of file ComponentSimd.h.

◆ value()

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

Access operator for the item entity.

Definition at line 287 of file ComponentSimd.h.

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

◆ value0()

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

Definition at line 292 of file ComponentSimd.h.


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