14#include "arcane/PrivateVariableArray.h"
15#include "arcane/IMesh.h"
16#include "arcane/ItemGroup.h"
17#include "arcane/Variable.h"
28template<
class DataType>
32, m_private_part(PrivatePartType::getReference(vb,vi))
39template<
class DataType>
40PrivateVariableArrayT<DataType>::
41PrivateVariableArrayT(IVariable* var)
43, m_private_part(PrivatePartType::getReference(var))
50template<
class DataType>
51PrivateVariableArrayT<DataType>::
52PrivateVariableArrayT(
const PrivateVariableArrayT& rhs)
54, m_private_part(rhs.m_private_part)
63template<
class DataType>
void
64PrivateVariableArrayT<DataType>::
65operator=(
const PrivateVariableArrayT& rhs)
69 m_private_part = rhs.m_private_part;
78template<
class DataType>
void
79PrivateVariableArrayT<DataType>::
83 m_view = m_private_part->valueView();
85 _executeUpdateFunctors();
91template<
class DataType>
void
96 m_private_part->directResize(m_private_part->valueView().dim1Size(),dim2_size);
103template<
class DataType>
void
104PrivateVariableArrayT<DataType>::
105resizeAndReshape(
const ArrayShape& shape)
107 m_private_part->directResizeAndReshape(shape);
108 updateFromInternal();
114template<
class DataType> ItemGroup
115PrivateVariableArrayT<DataType>::
118 return m_private_part->itemGroup();
#define ARCANE_CHECK_POINTER(ptr)
Macro retournant le pointeur ptr s'il est non nul ou lancant une exception s'il est nul.
Classe de base d'une variable sur des entités du maillage.
Classe de factorisation des variables scalaires sur des entités du maillage.
void updateFromInternal()
Paramètres nécessaires à la construction d'une variable.
Infos caractérisant une variable.
virtual void updateFromInternal()
Mise à jour à partir de la partie interne.
VariableRef & operator=(const VariableRef &from)
Opérateur de recopie.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Int32 Integer
Type représentant un entier.