12#ifndef ARCANE_MATERIALS_ISCALARMESHMATERIALVARIABLE_H
13#define ARCANE_MATERIALS_ISCALARMESHMATERIALVARIABLE_H
17#include "arcane/utils/NotImplementedException.h"
18#include "arcane/utils/Array.h"
20#include "arcane/core/materials/MaterialsCoreGlobal.h"
35template <
typename ItemType,
typename DataType>
41 using ItemTypeType = ItemType;
42 using DataTypeType = DataType;
45 static constexpr int dimension() {
return 0; }
58 virtual void fillPartialValues(
const DataType& value) = 0;
59 virtual VariableRefType* globalVariableReference()
const = 0;
60 virtual void incrementReference() = 0;
Modifiable view of an array of type T.
Constant view of an array of type T.
Interface of a material variable on a mesh.
Interface of a mesh material.
Scalar variable on a mesh entity type.
Always enables tracing in Arcane parts concerning materials.
ConstArrayView< Int32 > Int32ConstArrayView
C equivalent of a 1D array of 32-bit integers.