|
using | internal_mdspan_type = std::experimental::mdspan< ElementType, std::experimental::dextents< std::size_t, sizeof...(DDims)>, std::experimental::layout_stride > |
| the raw mdspan underlying this, with the same indexing (0 might no be dereferenceable) More...
|
|
|
template<class , class , class > |
class | ChunkCommon |
|
template<class , class , class , class > |
class | ChunkSpan |
|
template<class , class , class > |
class | Chunk |
|
◆ internal_mdspan_type
template<class ElementType , class... DDims, class LayoutStridedPolicy >
using ddc::ChunkCommon< ElementType, DiscreteDomain< DDims... >, LayoutStridedPolicy >::internal_mdspan_type = std::experimental::mdspan< ElementType, std::experimental::dextents<std::size_t, sizeof...(DDims)>, std::experimental::layout_stride> |
|
protected |
the raw mdspan underlying this, with the same indexing (0 might no be dereferenceable)
◆ mdomain_type
template<class ElementType , class... DDims, class LayoutStridedPolicy >
◆ allocation_mdspan_type
template<class ElementType , class... DDims, class LayoutStridedPolicy >
using ddc::ChunkCommon< ElementType, DiscreteDomain< DDims... >, LayoutStridedPolicy >::allocation_mdspan_type = std::experimental::mdspan< ElementType, std::experimental::dextents<std::size_t, sizeof...(DDims)>, LayoutStridedPolicy> |
The dereferenceable part of the co-domain but with a different domain, starting at 0.
◆ const_allocation_mdspan_type
template<class ElementType , class... DDims, class LayoutStridedPolicy >
using ddc::ChunkCommon< ElementType, DiscreteDomain< DDims... >, LayoutStridedPolicy >::const_allocation_mdspan_type = std::experimental::mdspan< const ElementType, std::experimental::dextents<std::size_t, sizeof...(DDims)>, LayoutStridedPolicy> |
◆ discrete_element_type
template<class ElementType , class... DDims, class LayoutStridedPolicy >
◆ extents_type
template<class ElementType , class... DDims, class LayoutStridedPolicy >
◆ layout_type
template<class ElementType , class... DDims, class LayoutStridedPolicy >
◆ accessor_type
template<class ElementType , class... DDims, class LayoutStridedPolicy >
using ddc::ChunkCommon< ElementType, DiscreteDomain< DDims... >, LayoutStridedPolicy >::accessor_type = typename allocation_mdspan_type::accessor_type |
◆ mapping_type
template<class ElementType , class... DDims, class LayoutStridedPolicy >
◆ element_type
template<class ElementType , class... DDims, class LayoutStridedPolicy >
◆ value_type
template<class ElementType , class... DDims, class LayoutStridedPolicy >
◆ size_type
template<class ElementType , class... DDims, class LayoutStridedPolicy >
◆ data_handle_type
template<class ElementType , class... DDims, class LayoutStridedPolicy >
using ddc::ChunkCommon< ElementType, DiscreteDomain< DDims... >, LayoutStridedPolicy >::data_handle_type = typename allocation_mdspan_type::data_handle_type |
◆ reference
template<class ElementType , class... DDims, class LayoutStridedPolicy >
◆ ChunkCommon() [1/5]
template<class ElementType , class... DDims, class LayoutStridedPolicy >
|
constexprprotecteddefault |
◆ ChunkCommon() [2/5]
template<class ElementType , class... DDims, class LayoutStridedPolicy >
|
inlineconstexprprotectednoexcept |
◆ ChunkCommon() [3/5]
template<class ElementType , class... DDims, class LayoutStridedPolicy >
template<class Mapping = mapping_type, std::enable_if_t< std::is_constructible_v< Mapping,
extents_type >, int > = 0>
Constructs a new ChunkCommon from scratch.
- Parameters
-
ptr | the allocation pointer to the data |
domain | the domain that sustains the view |
◆ ChunkCommon() [4/5]
template<class ElementType , class... DDims, class LayoutStridedPolicy >
|
constexprprotecteddefault |
Constructs a new ChunkCommon by copy, yields a new view to the same data.
- Parameters
-
◆ ChunkCommon() [5/5]
template<class ElementType , class... DDims, class LayoutStridedPolicy >
|
constexprprotecteddefault |
◆ rank()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
|
inlinestaticconstexprnoexcept |
◆ rank_dynamic()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
|
inlinestaticconstexprnoexcept |
◆ static_extent()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
|
inlinestaticconstexprnoexcept |
◆ is_always_unique()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
|
inlinestaticconstexprnoexcept |
◆ is_always_exhaustive()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
|
inlinestaticconstexprnoexcept |
◆ is_always_strided()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
|
inlinestaticconstexprnoexcept |
◆ accessor()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
◆ extents()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
◆ extent()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
template<class QueryDDim >
◆ size()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
◆ mapping()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
◆ is_unique()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
◆ is_exhaustive()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
◆ is_strided()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
◆ stride()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
template<class QueryDDim >
◆ domain() [1/2]
template<class ElementType , class... DDims, class LayoutStridedPolicy >
Provide access to the domain on which this chunk is defined.
- Returns
- the domain on which this chunk is defined
◆ domain() [2/2]
template<class ElementType , class... DDims, class LayoutStridedPolicy >
template<class... QueryDDims>
Provide access to the domain on which this chunk is defined.
- Returns
- the domain on which this chunk is defined
◆ operator=() [1/2]
template<class ElementType , class... DDims, class LayoutStridedPolicy >
|
constexprprotecteddefault |
Copy-assigns a new value to this ChunkCommon, yields a new view to the same data.
- Parameters
-
- Returns
- *this
◆ operator=() [2/2]
template<class ElementType , class... DDims, class LayoutStridedPolicy >
|
constexprprotecteddefault |
Move-assigns a new value to this ChunkCommon.
- Parameters
-
- Returns
- *this
◆ data_handle()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
Access to the underlying allocation pointer.
- Returns
- allocation pointer
◆ internal_mdspan()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
Provide a modifiable view of the data.
- Returns
- a modifiable view of the data
◆ allocation_mdspan()
template<class ElementType , class... DDims, class LayoutStridedPolicy >
Provide a modifiable view of the data.
- Returns
- a modifiable view of the data
◆ ChunkCommon
template<class ElementType , class... DDims, class LayoutStridedPolicy >
template<class , class , class >
◆ ChunkSpan
template<class ElementType , class... DDims, class LayoutStridedPolicy >
template<class , class , class , class >
◆ Chunk
template<class ElementType , class... DDims, class LayoutStridedPolicy >
template<class , class , class >
◆ m_internal_mdspan
template<class ElementType , class... DDims, class LayoutStridedPolicy >
The raw view of the data.
◆ m_domain
template<class ElementType , class... DDims, class LayoutStridedPolicy >
The mesh on which this chunk is defined.
The documentation for this class was generated from the following file: