access policy storing one pointer per component of the mapped object
More...
#include </home/runner/work/tfel/tfel/include/TFEL/Math/Array/ScatteredView.hxx>
|
|
TFEL_HOST_DEVICE constexpr | ScatteredAccessPolicy (const std::array< ViewDataPointerType< MappedType >, N > &p) noexcept |
| | default constructor
|
|
TFEL_HOST_DEVICE constexpr | ScatteredAccessPolicy (const std::span< const ViewDataPointerType< MappedType >, N > &p) noexcept |
| | default constructor
|
|
constexpr | ScatteredAccessPolicy (const ScatteredAccessPolicy &) noexcept=default |
| | copy constructor
|
|
constexpr | ScatteredAccessPolicy (ScatteredAccessPolicy &&) noexcept=default |
| | move constructor
|
|
|
TFEL_HOST_DEVICE constexpr auto & | getValue (const typename IndexingPolicyType::size_type i) noexcept |
|
TFEL_HOST_DEVICE constexpr const auto & | getValue (const typename IndexingPolicyType::size_type i) const noexcept |
|
|
std::array< ViewDataPointerType< MappedType >, N > | ptrs |
| | pointer to the memory buffer
|
template<MappableMathObjectUsingScatteredViewConcept MappedType, typename IndexingPolicyType>
struct tfel::math::ScatteredAccessPolicy< MappedType, IndexingPolicyType >
access policy storing one pointer per component of the mapped object
template<MappableMathObjectUsingScatteredViewConcept MappedType, typename IndexingPolicyType>
Initial value:= [] {
typename MappedType::indexing_policy p;
return p.size();
}()
The documentation for this struct was generated from the following file: