tfel
Loading...
Searching...
No Matches
ScatteredView.hxx File Reference

Classes

struct  tfel::math::ScatteredAccessPolicy< MappedType, IndexingPolicyType >
 access policy storing one pointer per component of the mapped object More...
struct  tfel::math::AccessPolicyBasedView< MappedType, IndexingPolicyType, AccessPolicy >
 view of an object whose components are not stored contiguously More...
struct  tfel::math::MathObjectTraits< AccessPolicyBasedView< MappedType, IndexingPolicyType, AccessPolicy > >
 partial specialisation of the MathObjectTraits for const views More...
struct  tfel::math::ResultOfEvaluation< AccessPolicyBasedView< MappedType, IndexingPolicyType, AccessPolicy > >
 partial specialisation of the ResultOfEvaluation class for views. More...
struct  tfel::typetraits::IsAssignableTo< tfel::math::AccessPolicyBasedView< MathObject, IndexingPolicyType, AccessPolicy >, MathObject2 >
 generic partial specialisation for a view. More...
struct  tfel::typetraits::IsAssignableTo< MathObject, tfel::math::AccessPolicyBasedView< MathObject2, IndexingPolicyType2, AccessPolicy2 > >
 generic partial specialisation for a view. More...
struct  tfel::typetraits::IsAssignableTo< tfel::math::AccessPolicyBasedView< MathObject, IndexingPolicyType, AccessPolicy >, tfel::math::AccessPolicyBasedView< MathObject2, IndexingPolicyType2, AccessPolicy2 > >
 generic partial specialisation for a view. More...
struct  tfel::typetraits::IsAssignableTo< tfel::math::Expr< EvaluationResult, Operation >, tfel::math::AccessPolicyBasedView< MathObject, IndexingPolicyType, AccessPolicy > >
 specialisation of IsAssignableTo More...
class  tfel::math::IndexingPolicyType

Namespaces

namespace  tfel
 the namespace tfel encloses all the TFEL project. This namespace is empty.
namespace  tfel::math
 This namespace contains various classes and functions défining mathematical objects and numerical algorithms.

Concepts

concept  tfel::math::MappableMutableMathObjectUsingScatteredViewConcept
concept  tfel::math::MappableImmutableMathObjectUsingScatteredViewConcept
concept  tfel::math::MappableMathObjectUsingScatteredViewConcept
concept  tfel::math::MappableMutableMathObjectUsingCoalescedViewConcept
concept  tfel::math::MappableImmutableMathObjectUsingCoalescedViewConcept
concept  tfel::math::MappableMathObjectUsingCoalescedViewConcept

Typedefs

template<MappableMathObjectUsingScatteredViewConcept MappedType, typename IndexingPolicyType = typename MappedType::indexing_policy>
using tfel::math::ScatteredView
 view storing one pointer per component of the mapped object
template<MappableMutableMathObjectUsingScatteredViewConcept MappedType, typename IndexingPolicyType = typename std::remove_cv_t<MappedType>::indexing_policy>
using tfel::math::ConstScatteredView
template<MappableMathObjectUsingScatteredViewConcept MappedType, typename IndexingPolicyType = typename MappedType::indexing_policy>
using tfel::math::ScatteredView
 view storing one pointer per component of the mapped object
template<MappableMutableMathObjectUsingScatteredViewConcept MappedType, typename IndexingPolicyType = typename std::remove_cv_t<MappedType>::indexing_policy>
using tfel::math::ConstScatteredView

Functions

template<MappableMutableMathObjectUsingScatteredViewConcept MappedType, typename IndexingPolicyType = typename MappedType::indexing_policy>
requires ((!std::is_const_v<MappedType>)&&( std::remove_cv_t<MappedType>::hasFixedSizes))
TFEL_HOST_DEVICE constexpr ScatteredView< MappedType, IndexingPolicyType > tfel::math::map (std::span< const ViewDataPointerType< MappedType >, indexing_policy_size< IndexingPolicyType > > ptrs)
 return a scattered view from a list of pointers
template<MappableImmutableMathObjectUsingScatteredViewConcept MappedType, typename IndexingPolicyType = typename std::remove_cv_t<MappedType>::indexing_policy>
requires ((std::remove_cv_t<MappedType>::indexing_policy::hasFixedSizes))
TFEL_HOST_DEVICE constexpr ScatteredView< MappedType, IndexingPolicyType > tfel::math::map (std::span< const ViewConstDataPointerType< std::remove_cv_t< MappedType > >, indexing_policy_size< IndexingPolicyType > > ptrs)
 return an immutable scattered view from a list of pointers
template<MappableMutableMathObjectUsingScatteredViewConcept MappedType, typename IndexingPolicyType = typename MappedType::indexing_policy>
requires ((!std::is_const_v<MappedType>)&&( std::remove_cv_t<MappedType>::hasFixedSizes))
TFEL_HOST_DEVICE constexpr ScatteredView< MappedType, IndexingPolicyType > tfel::math::map (std::array< ViewDataPointerType< MappedType >, indexing_policy_size< IndexingPolicyType > > &ptrs)
 return a scattered view from a list of pointers
template<MappableImmutableMathObjectUsingScatteredViewConcept MappedType, typename IndexingPolicyType = typename std::remove_cv_t<MappedType>::indexing_policy>
requires ((std::remove_cv_t<MappedType>::indexing_policy::hasFixedSizes))
TFEL_HOST_DEVICE constexpr ScatteredView< MappedType, IndexingPolicyType > tfel::math::map (const std::array< ViewConstDataPointerType< std::remove_cv_t< MappedType > >, indexing_policy_size< IndexingPolicyType > > &ptrs)
 return an immutable scattered view from a list of pointers

Detailed Description

Author
Thomas Helfer
Date
24/12/2025