Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::ItemVariableArrayOutViewT< ItemType, Accessor > Class Template Reference

Write view on an array mesh variable. More...

#include <arcane/core/VariableView.h>

Inheritance diagram for Arcane::ItemVariableArrayOutViewT< ItemType, Accessor >:
Collaboration diagram for Arcane::ItemVariableArrayOutViewT< ItemType, Accessor >:

Public Member Functions

 ItemVariableArrayOutViewT (IVariable *var, Span2< DataType > v)
DataTypeReturnType operator[] (ItemIndexType i) const
 Access operator for the item entity.
Span< DataType > value (ItemIndexType i) const
 Access operator for the item entity.
Public Member Functions inherited from Arcane::Accelerator::VariableViewBase
 VariableViewBase (const ViewBuildInfo &command, IVariable *var)

Private Types

using DataType = typename Accessor::ValueType
using DataTypeReturnType = typename Accessor::DataTypeReturnReference
using ItemIndexType = typename ItemTraitsT<ItemType>::LocalIdType

Private Attributes

Span2< DataType > m_values

Detailed Description

template<typename ItemType, typename Accessor>
class Arcane::ItemVariableArrayOutViewT< ItemType, Accessor >

Write view on an array mesh variable.

Definition at line 271 of file VariableView.h.

Member Typedef Documentation

◆ DataType

template<typename ItemType, typename Accessor>
using Arcane::ItemVariableArrayOutViewT< ItemType, Accessor >::DataType = typename Accessor::ValueType
private

Definition at line 276 of file VariableView.h.

◆ DataTypeReturnType

template<typename ItemType, typename Accessor>
using Arcane::ItemVariableArrayOutViewT< ItemType, Accessor >::DataTypeReturnType = typename Accessor::DataTypeReturnReference
private

Definition at line 277 of file VariableView.h.

◆ ItemIndexType

template<typename ItemType, typename Accessor>
using Arcane::ItemVariableArrayOutViewT< ItemType, Accessor >::ItemIndexType = typename ItemTraitsT<ItemType>::LocalIdType
private

Definition at line 278 of file VariableView.h.

Constructor & Destructor Documentation

◆ ItemVariableArrayOutViewT()

template<typename ItemType, typename Accessor>
Arcane::ItemVariableArrayOutViewT< ItemType, Accessor >::ItemVariableArrayOutViewT ( IVariable * var,
Span2< DataType > v )
inline

Definition at line 282 of file VariableView.h.

Member Function Documentation

◆ operator[]()

template<typename ItemType, typename Accessor>
DataTypeReturnType Arcane::ItemVariableArrayOutViewT< ItemType, Accessor >::operator[] ( ItemIndexType i) const
inline

Access operator for the item entity.

Definition at line 288 of file VariableView.h.

◆ value()

template<typename ItemType, typename Accessor>
Span< DataType > Arcane::ItemVariableArrayOutViewT< ItemType, Accessor >::value ( ItemIndexType i) const
inline

Access operator for the item entity.

Definition at line 294 of file VariableView.h.

Member Data Documentation

◆ m_values

template<typename ItemType, typename Accessor>
Span2<DataType> Arcane::ItemVariableArrayOutViewT< ItemType, Accessor >::m_values
private

Definition at line 301 of file VariableView.h.


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