15template <
class... Dims>
16using Coord = ddc::Coordinate<Dims...>;
19template <
class... GridTypes>
20using Idx = ddc::DiscreteElement<GridTypes...>;
23template <
class... GridTypes>
24using IdxStep = ddc::DiscreteVector<GridTypes...>;
27template <
class... GridTypes>
28using IdxRange = ddc::DiscreteDomain<GridTypes...>;
34 class MemSpace = Kokkos::DefaultExecutionSpace::memory_space>
35using FieldMem = ddc::Chunk<ElementType, IdxRange, ddc::KokkosAllocator<ElementType, MemSpace>>;
38template <
class IdxRange,
class MemSpace = Kokkos::DefaultExecutionSpace::memory_space>
39using DFieldMem = FieldMem<double, IdxRange, MemSpace>;
45 class MemorySpace = Kokkos::DefaultExecutionSpace::memory_space,
46 class LayoutStridedPolicy = Kokkos::layout_right>
47using Field = ddc::ChunkSpan<ElementType, IdxRange, LayoutStridedPolicy, MemorySpace>;
52 class MemorySpace = Kokkos::DefaultExecutionSpace::memory_space,
53 class LayoutStridedPolicy = Kokkos::layout_right>
54using DField = Field<double, IdxRange, MemorySpace, LayoutStridedPolicy>;
60 class MemorySpace = Kokkos::DefaultExecutionSpace::memory_space,
61 class LayoutStridedPolicy = Kokkos::layout_right>
62using ConstField = ddc::ChunkView<ElementType, IdxRange, LayoutStridedPolicy, MemorySpace>;
67 class MemorySpace = Kokkos::DefaultExecutionSpace::memory_space,
68 class LayoutStridedPolicy = Kokkos::layout_right>
69using DConstField = ConstField<double, IdxRange, MemorySpace, LayoutStridedPolicy>;
72template <
class Gr
idType>
73using UniformGridBase = ddc::UniformPointSampling<GridType>;
76template <
class Gr
idType>
77using NonUniformGridBase = ddc::NonUniformPointSampling<GridType>;
80template <
class ElementType,
class... Dims>
81class Vector :
public ddc::detail::TaggedVector<ElementType, Dims...>
93 template <
class... Params>
94 KOKKOS_FUNCTION
Vector(Params... p) : ddc::detail::TaggedVector<ElementType, Dims...>(p...)
100template <
class... Dims>
A type describing a vector e.g. (E_x, E_y)
Definition ddc_aliases.hpp:82
KOKKOS_FUNCTION Vector(Params... p)
A constructor for a Vector to build from individual elements: E.g.
Definition ddc_aliases.hpp:94