12#ifndef ARCANE_MATERIALS_INTERNAL_MESHCOMPONENTPARTDATA_H
13#define ARCANE_MATERIALS_INTERNAL_MESHCOMPONENTPARTDATA_H
17#include "arcane/utils/TraceAccessor.h"
18#include "arcane/utils/UniqueArray.h"
19#include "arcane/utils/FixedArray.h"
21#include "arcane/core/materials/MatVarIndex.h"
22#include "arcane/core/materials/ComponentItemInternal.h"
39class MeshComponentPartData
70 void setRecomputeFunctor(
IFunctor* func) { m_compute_functor = func; }
72 void setNeedRecompute() { m_is_need_recompute =
true; }
98 IFunctor* m_compute_functor =
nullptr;
99 bool m_is_need_recompute =
false;
108 void _checkNeedRecompute();
Execution queue for an accelerator.
Constant view of an array of type T.
View over the impure part of a component.
View over pure or partial entities of a component.
View over the pure part of a component.
View of a ConstituentItemLocalIdList instance.
Interface of a component (material or environment) of a mesh.
FixedArray< UniqueArray< Int32 >, 2 > m_items_internal_indexes
List of indices in m_items_internal for each material cell.
ComponentPurePartItemVectorView pureView()
View of the pure part.
ConstituentItemLocalIdListView m_constituent_list_view
List of ComponentItems for this constituent.
Int32 m_impure_var_idx
Index of the constituent for accessing partial values.
FixedArray< UniqueArray< Int32 >, 2 > m_value_indexes
List of valueIndex() for each part.
void _notifyValueIndexesChanged(RunQueue *queue)
Notification of changes to m_values_indexes.
ComponentImpurePartItemVectorView impureView()
View of the impure part.
IMeshComponent * m_component
Constituent manager.
ComponentPartItemVectorView partView(eMatPart part)
View of the part.
Unicode character string.
TraceAccessor(ITraceMng *m)
Constructs an accessor via the trace manager m.
Always enables tracing in Arcane parts concerning materials.
eMatPart
Part of a component.
std::int32_t Int32
Signed integer type of 32 bits.