Arcane  4.1.11.0
Documentation utilisateur
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>

Types publics

using ItemVecView = ContainerView_
 
using ThatClass = ConstituentItemIndexedSelectionView
 
using IndexArrayView = const SmallSpan<const Int32>
 
using TraitsType = Impl::ConstituentItemIndexedSelectionViewTraits<ContainerView_>
 
using ValueType = TraitsType::ValueType
 

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.
 
constexpr bool isFullSelection () const
 indique si la selection est triviale ou pleine, c'est à dire que l'on a pas de liste d'indices et doit considerer toutes les EnvCell d'origine
 
__host__ __device__ Int32 size () const
 nombre de EnvCell sélectionnées
 
__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 statiques

static constexpr bool IsSpanContainer ()
 

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 Classe générique d'adaptation pour une utilisation dans les boucles Arcane (RUNCOMMAND_ENUMERATE_*)

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

Documentation des définitions de type membres

◆ IndexArrayView

template<typename ContainerView_>
using Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >::IndexArrayView = const SmallSpan<const Int32>

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

◆ ItemVecView

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

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

◆ ThatClass

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

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

◆ TraitsType

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

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

◆ ValueType

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

Définition à la ligne 145 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 150 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 157 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 166 du fichier ConstituentItemIndexedSelectionView.h.

Documentation des fonctions membres

◆ isFullSelection()

template<typename ContainerView_>
bool Arcane::Materials::ConstituentItemIndexedSelectionView< ContainerView_ >::isFullSelection ( ) const
inlineconstexpr

indique si la selection est triviale ou pleine, c'est à dire que l'on a pas de liste d'indices et doit considerer toutes les EnvCell d'origine

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

◆ IsSpanContainer()

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

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

◆ item()

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

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

◆ operator[]()

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

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

◆ selectionView()

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

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

◆ size()

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

nombre de EnvCell sélectionnées

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

◆ sourceSize()

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

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

◆ sourceView()

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

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


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