#include <chunk_common.hpp>


Public Types | |
| using | discrete_domain_type = SupportType |
| using | allocation_mdspan_type = Kokkos::mdspan< ElementType, Kokkos::dextents< std::size_t, SupportType::rank()>, LayoutStridedPolicy > |
| The dereferenceable part of the co-domain but with a different domain, starting at 0. | |
| using | const_allocation_mdspan_type = Kokkos::mdspan< ElementType const, Kokkos::dextents< std::size_t, SupportType::rank()>, LayoutStridedPolicy > |
| using | discrete_element_type = typename discrete_domain_type::discrete_element_type |
| using | discrete_vector_type = typename discrete_domain_type::discrete_vector_type |
| using | extents_type = typename allocation_mdspan_type::extents_type |
| using | layout_type = typename allocation_mdspan_type::layout_type |
| using | accessor_type = typename allocation_mdspan_type::accessor_type |
| using | mapping_type = typename allocation_mdspan_type::mapping_type |
| using | element_type = typename allocation_mdspan_type::element_type |
| using | value_type = typename allocation_mdspan_type::value_type |
| using | size_type = typename allocation_mdspan_type::size_type |
| using | data_handle_type = typename allocation_mdspan_type::data_handle_type |
| using | reference = typename allocation_mdspan_type::reference |
Public Member Functions | |
| KOKKOS_FUNCTION constexpr accessor_type | accessor () const |
| KOKKOS_FUNCTION constexpr SupportType::discrete_vector_type | extents () const noexcept |
| template<class QueryDDim > | |
| KOKKOS_FUNCTION constexpr size_type | extent () const noexcept |
| KOKKOS_FUNCTION constexpr size_type | size () const noexcept |
| KOKKOS_FUNCTION constexpr mapping_type | mapping () const noexcept |
| KOKKOS_FUNCTION constexpr bool | is_unique () const noexcept |
| KOKKOS_FUNCTION constexpr bool | is_exhaustive () const noexcept |
| KOKKOS_FUNCTION constexpr bool | is_strided () const noexcept |
| template<class QueryDDim > | |
| KOKKOS_FUNCTION constexpr size_type | stride () const |
| KOKKOS_FUNCTION constexpr SupportType | domain () const noexcept |
| Provide access to the domain on which this chunk is defined. | |
| template<class... QueryDDims> | |
| KOKKOS_FUNCTION constexpr DiscreteDomain< QueryDDims... > | domain () const noexcept |
| Provide access to the domain on which this chunk is defined. | |
Static Public Member Functions | |
| static KOKKOS_FUNCTION constexpr int | rank () noexcept |
| static KOKKOS_FUNCTION constexpr int | rank_dynamic () noexcept |
| static KOKKOS_FUNCTION constexpr size_type | static_extent (std::size_t r) noexcept |
| static KOKKOS_FUNCTION constexpr bool | is_always_unique () noexcept |
| static KOKKOS_FUNCTION constexpr bool | is_always_exhaustive () noexcept |
| static KOKKOS_FUNCTION constexpr bool | is_always_strided () noexcept |
Protected Attributes | |
| allocation_mdspan_type | m_allocation_mdspan |
| The raw view of the data. | |
| SupportType | m_domain |
| The mesh on which this chunk is defined. | |
Friends | |
| template<class , class , class > | |
| class | ChunkCommon |
| template<class , class , class , class > | |
| class | ChunkSpan |
| template<class , class , class > | |
| class | Chunk |
Definition at line 33 of file chunk_common.hpp.
| using ddc::ChunkCommon< ElementType, SupportType, LayoutStridedPolicy >::discrete_domain_type = SupportType |
Definition at line 36 of file chunk_common.hpp.
| using ddc::ChunkCommon< ElementType, SupportType, LayoutStridedPolicy >::allocation_mdspan_type = Kokkos::mdspan< ElementType, Kokkos::dextents<std::size_t, SupportType::rank()>, LayoutStridedPolicy> |
The dereferenceable part of the co-domain but with a different domain, starting at 0.
Definition at line 39 of file chunk_common.hpp.
| using ddc::ChunkCommon< ElementType, SupportType, LayoutStridedPolicy >::const_allocation_mdspan_type = Kokkos::mdspan< ElementType const, Kokkos::dextents<std::size_t, SupportType::rank()>, LayoutStridedPolicy> |
Definition at line 44 of file chunk_common.hpp.
| using ddc::ChunkCommon< ElementType, SupportType, LayoutStridedPolicy >::discrete_element_type = typename discrete_domain_type::discrete_element_type |
Definition at line 49 of file chunk_common.hpp.
| using ddc::ChunkCommon< ElementType, SupportType, LayoutStridedPolicy >::discrete_vector_type = typename discrete_domain_type::discrete_vector_type |
Definition at line 51 of file chunk_common.hpp.
| using ddc::ChunkCommon< ElementType, SupportType, LayoutStridedPolicy >::extents_type = typename allocation_mdspan_type::extents_type |
Definition at line 53 of file chunk_common.hpp.
| using ddc::ChunkCommon< ElementType, SupportType, LayoutStridedPolicy >::layout_type = typename allocation_mdspan_type::layout_type |
Definition at line 55 of file chunk_common.hpp.
| using ddc::ChunkCommon< ElementType, SupportType, LayoutStridedPolicy >::accessor_type = typename allocation_mdspan_type::accessor_type |
Definition at line 57 of file chunk_common.hpp.
| using ddc::ChunkCommon< ElementType, SupportType, LayoutStridedPolicy >::mapping_type = typename allocation_mdspan_type::mapping_type |
Definition at line 59 of file chunk_common.hpp.
| using ddc::ChunkCommon< ElementType, SupportType, LayoutStridedPolicy >::element_type = typename allocation_mdspan_type::element_type |
Definition at line 61 of file chunk_common.hpp.
| using ddc::ChunkCommon< ElementType, SupportType, LayoutStridedPolicy >::value_type = typename allocation_mdspan_type::value_type |
Definition at line 63 of file chunk_common.hpp.
| using ddc::ChunkCommon< ElementType, SupportType, LayoutStridedPolicy >::size_type = typename allocation_mdspan_type::size_type |
Definition at line 65 of file chunk_common.hpp.
| using ddc::ChunkCommon< ElementType, SupportType, LayoutStridedPolicy >::data_handle_type = typename allocation_mdspan_type::data_handle_type |
Definition at line 67 of file chunk_common.hpp.
| using ddc::ChunkCommon< ElementType, SupportType, LayoutStridedPolicy >::reference = typename allocation_mdspan_type::reference |
Definition at line 69 of file chunk_common.hpp.
|
constexprprotecteddefault |
Empty ChunkCommon.
|
inlineconstexprprotectednoexcept |
Constructs a new ChunkCommon from scratch.
| allocation_mdspan | |
| domain |
Definition at line 203 of file chunk_common.hpp.
|
inlineconstexprprotected |
Constructs a new ChunkCommon from scratch.
| ptr | the allocation pointer to the data |
| domain | the domain that sustains the view |
Definition at line 218 of file chunk_common.hpp.
|
constexprprotecteddefault |
Constructs a new ChunkCommon by copy, yields a new view to the same data.
| other | the ChunkCommon to copy |
|
constexprprotecteddefaultnoexcept |
Constructs a new ChunkCommon by move.
| other | the ChunkCommon to move |
|
protecteddefaultnoexcept |
|
inlinestaticconstexprnoexcept |
Definition at line 91 of file chunk_common.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 96 of file chunk_common.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 101 of file chunk_common.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 106 of file chunk_common.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 111 of file chunk_common.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 116 of file chunk_common.hpp.
|
inlineconstexpr |
Definition at line 131 of file chunk_common.hpp.
|
inlineconstexprnoexcept |
Definition at line 136 of file chunk_common.hpp.
|
inlineconstexprnoexcept |
Definition at line 142 of file chunk_common.hpp.
|
inlineconstexprnoexcept |
Definition at line 147 of file chunk_common.hpp.
|
inlineconstexprnoexcept |
Definition at line 152 of file chunk_common.hpp.
|
inlineconstexprnoexcept |
Definition at line 157 of file chunk_common.hpp.
|
inlineconstexprnoexcept |
Definition at line 162 of file chunk_common.hpp.
|
inlineconstexprnoexcept |
Definition at line 167 of file chunk_common.hpp.
|
inlineconstexpr |
Definition at line 173 of file chunk_common.hpp.
|
inlineconstexprnoexcept |
Provide access to the domain on which this chunk is defined.
Definition at line 181 of file chunk_common.hpp.
|
inlineconstexprnoexcept |
Provide access to the domain on which this chunk is defined.
Definition at line 190 of file chunk_common.hpp.
| constexprprotecteddefault |
Copy-assigns a new value to this ChunkCommon, yields a new view to the same data.
| other | the ChunkCommon to copy |
|
constexprprotecteddefaultnoexcept |
|
inlineconstexprprotected |
Access to the underlying allocation pointer.
Definition at line 254 of file chunk_common.hpp.
|
inlineconstexprprotected |
Provide a modifiable view of the data.
Definition at line 262 of file chunk_common.hpp.
|
friend |
Definition at line 73 of file chunk_common.hpp.
Definition at line 76 of file chunk_common.hpp.
Definition at line 79 of file chunk_common.hpp.
|
protected |
The raw view of the data.
Definition at line 85 of file chunk_common.hpp.
|
protected |
The mesh on which this chunk is defined.
Definition at line 88 of file chunk_common.hpp.