Arcane  4.2.1.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
Référence du modèle de la classe Arcane::ComplexForLoopRanges< N, IndexType_ >

Interval d'itération complexe. Plus de détails...

#include <arccore/base/ForLoopRanges.h>

Types publics

using ArrayBoundsType = ArrayBounds<typename MDDimType<N, IndexType_>::DimType>
using MDIndexType = ArrayBoundsType::MDIndexType
using ArrayIndexType = MDIndexType
using LoopIndexType = ArrayIndexType
using ExtentIndexType = IndexType_

Fonctions membres publiques

 ComplexForLoopRanges (ArrayBoundsType lower, ArrayBoundsType extents)
 explicit (false) ComplexForLoopRanges(const SimpleForLoopRanges< N
return ComplexForLoopRanges (a, b)
template<Int32 I>
constexpr Int32 lowerBound () const
template<Int32 I>
constexpr Int32 upperBound () const
template<Int32 I>
constexpr Int32 extent () const
constexpr Int64 nbElement () const
constexpr MDIndexType getIndices (Int32 i) const
constexpr ArrayBoundsType extents () const

Attributs publics

IndexType_ & bounds: m_extents(bounds.m_bounds) {} public: template <typename OtherIndexType> static ComplexForLoopRanges fromOther(const ComplexForLoopRanges<N
IndexType_ OtherIndexType & other_loop
auto b = ArrayBoundsType::fromOther(other_loop.m_extents)

Description détaillée

template<int N, typename IndexType_>
class Arcane::ComplexForLoopRanges< N, IndexType_ >

Interval d'itération complexe.

Les indices de début pour chaque dimension sont spécifiés lower et le nombre d'éléments dans chaque dimension par extents.

Définition à la ligne 115 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.

Documentation des définitions de type membres

◆ ArrayBoundsType

template<int N, typename IndexType_>
using Arcane::ComplexForLoopRanges< N, IndexType_ >::ArrayBoundsType = ArrayBounds<typename MDDimType<N, IndexType_>::DimType>

Définition à la ligne 121 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.

◆ ArrayIndexType

template<int N, typename IndexType_>
using Arcane::ComplexForLoopRanges< N, IndexType_ >::ArrayIndexType = MDIndexType

Définition à la ligne 123 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.

◆ ExtentIndexType

template<int N, typename IndexType_>
using Arcane::ComplexForLoopRanges< N, IndexType_ >::ExtentIndexType = IndexType_

Définition à la ligne 125 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.

◆ LoopIndexType

template<int N, typename IndexType_>
using Arcane::ComplexForLoopRanges< N, IndexType_ >::LoopIndexType = ArrayIndexType

Définition à la ligne 124 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.

◆ MDIndexType

template<int N, typename IndexType_>
using Arcane::ComplexForLoopRanges< N, IndexType_ >::MDIndexType = ArrayBoundsType::MDIndexType

Définition à la ligne 122 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.

Documentation des constructeurs et destructeur

◆ ComplexForLoopRanges()

template<int N, typename IndexType_>
Arcane::ComplexForLoopRanges< N, IndexType_ >::ComplexForLoopRanges ( ArrayBoundsType lower,
ArrayBoundsType extents )
inline

Définition à la ligne 131 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.

Documentation des fonctions membres

◆ extent()

template<int N, typename IndexType_>
template<Int32 I>
Int32 Arcane::ComplexForLoopRanges< N, IndexType_ >::extent ( ) const
inlineconstexpr

Définition à la ligne 161 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.

◆ extents()

template<int N, typename IndexType_>
ArrayBoundsType Arcane::ComplexForLoopRanges< N, IndexType_ >::extents ( ) const
inlineconstexpr

Définition à la ligne 169 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.

◆ getIndices()

template<int N, typename IndexType_>
MDIndexType Arcane::ComplexForLoopRanges< N, IndexType_ >::getIndices ( Int32 i) const
inlineconstexpr

Définition à la ligne 163 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.

◆ lowerBound()

template<int N, typename IndexType_>
template<Int32 I>
Int32 Arcane::ComplexForLoopRanges< N, IndexType_ >::lowerBound ( ) const
inlineconstexpr

Définition à la ligne 159 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.

◆ nbElement()

template<int N, typename IndexType_>
Int64 Arcane::ComplexForLoopRanges< N, IndexType_ >::nbElement ( ) const
inlineconstexpr

Définition à la ligne 162 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.

◆ upperBound()

template<int N, typename IndexType_>
template<Int32 I>
Int32 Arcane::ComplexForLoopRanges< N, IndexType_ >::upperBound ( ) const
inlineconstexpr

Définition à la ligne 160 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.

◆ ComplexForLoopRanges

template<int N, typename IndexType_>
template<int OtherN, typename OtherIndexType>
friend class ComplexForLoopRanges
friend

Définition à la ligne 117 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.

Documentation des données membres

◆ b

template<int N, typename IndexType_>
auto Arcane::ComplexForLoopRanges< N, IndexType_ >::b = ArrayBoundsType::fromOther(other_loop.m_extents)

Définition à la ligne 146 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.

◆ bounds

template<int N, typename IndexType_>
IndexType_& Arcane::ComplexForLoopRanges< N, IndexType_ >::bounds

Définition à la ligne 135 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.

◆ other_loop

template<int N, typename IndexType_>
IndexType_ OtherIndexType& Arcane::ComplexForLoopRanges< N, IndexType_ >::other_loop
Valeur initiale :
{
auto a = MDIndexType::fromOther(other_loop.m_lower_bounds)

Définition à la ligne 143 du fichier arccore/src/base/arccore/base/ForLoopRanges.h.


La documentation de cette classe a été générée à partir des fichiers suivants :