12#ifndef ARCANE_CORE_MATERIALS_COMPONENTPARTITEMVECTORVIEW_H
13#define ARCANE_CORE_MATERIALS_COMPONENTPARTITEMVECTORVIEW_H
17#include "arcane/utils/ArrayView.h"
19#include "arcane/core/materials/MaterialsCoreGlobal.h"
20#include "arcane/core/materials/ComponentItemInternal.h"
36 friend class MeshComponentPartData;
37 friend class ComponentPartCellEnumerator;
55 , m_component_part_index(component_part_index)
56 , m_value_indexes(value_indexes)
57 , m_item_indexes(item_indexes)
58 , m_constituent_list_view(constituent_list_view)
77 Int32 componentPartIndex()
const {
return m_component_part_index; }
99 Int32 m_component_part_index = -1;
120class ARCANE_CORE_EXPORT ComponentPurePartItemVectorView
123 friend class MatPurePartItemVectorView;
124 friend class EnvPurePartItemVectorView;
125 friend class MeshComponentPartData;
150class ARCANE_CORE_EXPORT ComponentImpurePartItemVectorView
153 friend class MatImpurePartItemVectorView;
154 friend class EnvImpurePartItemVectorView;
155 friend class MeshComponentPartData;
161 Int32 component_part_index,
166 item_indexes, constituent_list_view, eMatPart::Impure)
226 return { component(), valueIndexes(),
227 itemIndexes(), constituentItemListView() };
252 return { component(), componentPartIndex(),
254 itemIndexes(), constituentItemListView() };
308 return { component(), valueIndexes(),
309 itemIndexes(), constituentItemListView() };
334 return { component(), componentPartIndex(),
336 itemIndexes(), constituentItemListView() };
Vue sur la partie impure d'un composant.
ComponentImpurePartItemVectorView()=default
Construit une vue non initialisée.
ComponentPartItemVectorView()=default
Construit une vue non initialisée.
Int32ConstArrayView itemIndexes() const
Liste des indices dans itemsInternal() des entités.
const ConstituentItemLocalIdListView & constituentItemListView() const
Tableau parties internes des entités.
Integer nbItem() const
Nombre d'entités dans la vue.
ComponentPartItemVectorView(IMeshComponent *component, Int32 component_part_index, Int32ConstArrayView value_indexes, Int32ConstArrayView item_indexes, const ConstituentItemLocalIdListView &constituent_list_view, eMatPart part)
Construit une vue sur une partie des entité du composant component.
IMeshComponent * component() const
Composant associé
Int32ConstArrayView valueIndexes() const
Liste des valueIndex() de la partie.
eMatPart part() const
Partie du composant.
Vue sur la partie pure d'un composant.
ComponentPurePartItemVectorView()=default
Construit une vue non initialisée.
EnvImpurePartItemVectorView()
Construit une vue non initialisée.
EnvImpurePartItemVectorView(IMeshEnvironment *env, const ComponentImpurePartItemVectorView &view)
Construit une vue pour le milieu env.
IMeshEnvironment * environment() const
Matériau associé
EnvPartItemVectorView(IMeshEnvironment *env, const ComponentPartItemVectorView &view)
Construit une vue pour le milieu env.
EnvPartItemVectorView()=default
Construit une vue non initialisée.
EnvPurePartItemVectorView(IMeshEnvironment *env, const ComponentPurePartItemVectorView &view)
Construit une vue pour le milieu env.
EnvPurePartItemVectorView()
Construit une vue non initialisée.
Interface d'un composant (matériau ou milieu) d'un maillage.
Interface d'un milieu d'un maillage.
Interface d'un matériau d'un maillage.
MatImpurePartItemVectorView()
Construit une vue non initialisée.
MatImpurePartItemVectorView(IMeshMaterial *material, const ComponentImpurePartItemVectorView &view)
Construit une vue pour le matériau material.
MatPartItemVectorView(IMeshMaterial *material, const ComponentPartItemVectorView &view)
Construit une vue pour le matériau material.
MatPartItemVectorView()=default
Construit une vue non initialisée.
IMeshMaterial * material() const
Matériau associé
MatPurePartItemVectorView(IMeshMaterial *material, const ComponentPurePartItemVectorView &view)
Construit une vue pour le matériau material.
MatPurePartItemVectorView()
Construit une vue non initialisée.
Active toujours les traces dans les parties Arcane concernant les matériaux.
eMatPart
Partie d'un composant.
Int32 Integer
Type représentant un entier.
ConstArrayView< Int32 > Int32ConstArrayView
Equivalent C d'un tableau à une dimension d'entiers 32 bits.
std::int32_t Int32
Type entier signé sur 32 bits.