14#include "arcane/core/PrivateVariableArray.h"
15#include "arcane/core/IMesh.h"
16#include "arcane/core/ItemGroup.h"
17#include "arcane/core/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 returning the pointer ptr if it is not null or throwing an exception if it is null.
Base class for a variable on mesh entities.
Class for factoring scalar variables on mesh entities.
void updateFromInternal()
Parameters necessary for building a variable.
Information characterizing a variable.
virtual void updateFromInternal()
Updates from the internal part.
VariableRef & operator=(const VariableRef &from)
Copy assignment operator.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.