Write view on a scalar mesh variable. More...
#include <arcane/core/VariableView.h>
Public Types | |
| using | DataType = typename Accessor::ValueType |
| using | DataTypeReturnReference = DataType& |
| using | ItemIndexType = typename ItemTraitsT<ItemType>::LocalIdType |
Public Member Functions | |
| ItemVariableScalarOutViewT (IVariable *var, Span< DataType > v) | |
| SimdSetter< DataType > | operator[] (SimdItemIndexT< ItemType > simd_item) const |
| Vector access operator with indirection. | |
| SimdDirectSetter< DataType > | operator[] (SimdItemDirectIndexT< ItemType > simd_item) const |
| Vector access operator without indirection. | |
| Accessor | operator[] (ItemIndexType i) const |
| Access operator for the item entity. | |
| Accessor | value (ItemIndexType i) const |
| Access operator for the item entity. | |
| void | setValue (ItemIndexType i, const DataType &v) const |
| Sets the value for the item entity at v. | |
| Public Member Functions inherited from Arcane::Accelerator::VariableViewBase | |
| VariableViewBase (const ViewBuildInfo &command, IVariable *var) | |
Private Attributes | |
| DataType * | m_values |
| Int64 | m_size |
Write view on a scalar mesh variable.
Definition at line 116 of file VariableView.h.
| using Arcane::ItemVariableScalarOutViewT< ItemType, Accessor >::DataType = typename Accessor::ValueType |
Definition at line 121 of file VariableView.h.
| using Arcane::ItemVariableScalarOutViewT< ItemType, Accessor >::DataTypeReturnReference = DataType& |
Definition at line 122 of file VariableView.h.
| using Arcane::ItemVariableScalarOutViewT< ItemType, Accessor >::ItemIndexType = typename ItemTraitsT<ItemType>::LocalIdType |
Definition at line 123 of file VariableView.h.
|
inline |
Definition at line 127 of file VariableView.h.
|
inline |
Access operator for the item entity.
Definition at line 146 of file VariableView.h.
|
inline |
Vector access operator without indirection.
Definition at line 140 of file VariableView.h.
|
inline |
Vector access operator with indirection.
Definition at line 134 of file VariableView.h.
References Arcane::SimdItemIndexT< ItemType >::simdLocalIds().
|
inline |
Sets the value for the item entity at v.
Definition at line 160 of file VariableView.h.
|
inline |
Access operator for the item entity.
Definition at line 153 of file VariableView.h.
|
private |
Definition at line 169 of file VariableView.h.
|
private |
Definition at line 168 of file VariableView.h.