Arcane  4.1.11.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence du modèle de la classe Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >

Vue sur un sous ensemble d'un conteneur de ConstituentItem. Plus de détails...

#include <arcane/core/materials/ConstituentItemIndexedSelectionView.h>

Graphe d'héritage de Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >:
Graphe de collaboration de Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >:

Types publics

using ItemVecView = ContainerView_
using ThatClass = ConstituentItemIndexedSelectionView
using TraitsType = Impl::ConstituentItemIndexedSelectionViewTraits<ContainerView_>
using ValueType = TraitsType::ValueType
Types publics hérités de Arcane::Materials::ConstituentItemIndexedSelectionViewBase
using IndexArrayView = const SmallSpan<const Int32>

Fonctions membres publiques

 ConstituentItemIndexedSelectionView (ItemVecView ecv, IndexArrayView indices)
 ConstituentItemIndexedSelectionView (ItemVecView view)
 Construit une sélection contenant tous les éléments de \view.
 ConstituentItemIndexedSelectionView (IMeshComponent *constituent, SmallSpan< const ValueType > ecv)
 Constructeur à partir d'une vue de ConstituentCell, de MatCell ou EnvCell.
__host__ __device__ Int32 sourceSize () const
ItemVecView sourceView () const
IndexArrayView selectionView () const
__host__ __device__ ValueType operator[] (Int32 i) const
__host__ __device__ ValueType item (Int32 i) const
Fonctions membres publiques hérités de Arcane::Materials::ConstituentItemIndexedSelectionViewBase
__host__ __device__ Int32 size () const
 nombre de EnvCell sélectionnées

Fonctions membres publiques statiques

static constexpr bool IsSpanContainer ()

Attributs privés

ItemVecView m_container_view
 Vue sur les éléments d'origine.

Membres hérités additionnels

Fonctions membres protégées hérités de Arcane::Materials::ConstituentItemIndexedSelectionViewBase
 ConstituentItemIndexedSelectionViewBase (SmallSpan< const Int32 > indices)
 ConstituentItemIndexedSelectionViewBase (IMeshComponent *constituent, Int32 selection_size)
Attributs protégés hérités de Arcane::Materials::ConstituentItemIndexedSelectionViewBase
SmallSpan< const Int32m_selection_view = {}
 Sélection.

Description détaillée

template<typename ContainerView_>
class Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >

Vue sur un sous ensemble d'un conteneur de ConstituentItem.

Le conteneur est l'argument template ContainerView_. Il peut s'agit d'un ComponentItemVectorView, MatCellVectorView, EnvCellVectorView ou juste d'un SmallSpan d'un ConstituentItem. La sélection des entités se fait par un tableau d'indices. Si ce tableau n'est pas fourni, la sélection est sur l'ensemble des entités.

Comme toute vue, les instances de cette classe sont invalidées si les constituants évoluent (ajout ou suppression)

Définition à la ligne 171 du fichier ConstituentItemIndexedSelectionView.h.

Documentation des définitions de type membres

◆ ItemVecView

template<typename ContainerView_>
using Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >::ItemVecView = ContainerView_

Définition à la ligne 176 du fichier ConstituentItemIndexedSelectionView.h.

◆ ThatClass

template<typename ContainerView_>
using Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >::ThatClass = ConstituentItemIndexedSelectionView

Définition à la ligne 177 du fichier ConstituentItemIndexedSelectionView.h.

◆ TraitsType

template<typename ContainerView_>
using Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >::TraitsType = Impl::ConstituentItemIndexedSelectionViewTraits<ContainerView_>

Définition à la ligne 178 du fichier ConstituentItemIndexedSelectionView.h.

◆ ValueType

template<typename ContainerView_>
using Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >::ValueType = TraitsType::ValueType

Définition à la ligne 179 du fichier ConstituentItemIndexedSelectionView.h.

Documentation des constructeurs et destructeur

◆ ConstituentItemIndexedSelectionView() [1/3]

template<typename ContainerView_>
Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >::ConstituentItemIndexedSelectionView ( ItemVecView ecv,
IndexArrayView indices )
inline

Définition à la ligne 184 du fichier ConstituentItemIndexedSelectionView.h.

◆ ConstituentItemIndexedSelectionView() [2/3]

template<typename ContainerView_>
Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >::ConstituentItemIndexedSelectionView ( ItemVecView view)
inlineexplicit

Construit une sélection contenant tous les éléments de \view.

Définition à la ligne 191 du fichier ConstituentItemIndexedSelectionView.h.

◆ ConstituentItemIndexedSelectionView() [3/3]

template<typename ContainerView_>
Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >::ConstituentItemIndexedSelectionView ( IMeshComponent * constituent,
SmallSpan< const ValueType > ecv )
inlineexplicit

Constructeur à partir d'une vue de ConstituentCell, de MatCell ou EnvCell.

Définition à la ligne 199 du fichier ConstituentItemIndexedSelectionView.h.

Documentation des fonctions membres

◆ IsSpanContainer()

template<typename ContainerView_>
constexpr bool Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >::IsSpanContainer ( )
inlinestaticconstexpr

Définition à la ligne 180 du fichier ConstituentItemIndexedSelectionView.h.

◆ item()

template<typename ContainerView_>
__host__ __device__ ValueType Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >::item ( Int32 i) const
inline

Définition à la ligne 223 du fichier ConstituentItemIndexedSelectionView.h.

◆ operator[]()

template<typename ContainerView_>
__host__ __device__ ValueType Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >::operator[] ( Int32 i) const
inline

Définition à la ligne 218 du fichier ConstituentItemIndexedSelectionView.h.

◆ selectionView()

template<typename ContainerView_>
IndexArrayView Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >::selectionView ( ) const
inline

Définition à la ligne 213 du fichier ConstituentItemIndexedSelectionView.h.

◆ sourceSize()

template<typename ContainerView_>
__host__ __device__ Int32 Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >::sourceSize ( ) const
inline

Définition à la ligne 207 du fichier ConstituentItemIndexedSelectionView.h.

◆ sourceView()

template<typename ContainerView_>
ItemVecView Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >::sourceView ( ) const
inline

Définition à la ligne 210 du fichier ConstituentItemIndexedSelectionView.h.

Documentation des données membres

◆ m_container_view

template<typename ContainerView_>
ItemVecView Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >::m_container_view
private

Vue sur les éléments d'origine.

Définition à la ligne 232 du fichier ConstituentItemIndexedSelectionView.h.


La documentation de cette classe a été générée à partir du fichier suivant :