5#ifndef IPPL_UNIFORM_CARTESIAN_H
6#define IPPL_UNIFORM_CARTESIAN_H
13 template <
typename T,
unsigned Dim>
48 for (
unsigned int d = 0; d <
Dim; d++) {
52 return vertexPosition;
58 for (
unsigned int d = 0; d <
Dim; d++)
60 return vertexVertexSpacing;
KOKKOS_INLINE_FUNCTION Vector< int, Dim > first() const
Vector< T, Dim > vector_type
KOKKOS_INLINE_FUNCTION Mesh()
KOKKOS_INLINE_FUNCTION UniformCartesian()
KOKKOS_INLINE_FUNCTION T getMeshVolume() const override
KOKKOS_INLINE_FUNCTION void setMeshSpacing(const vector_type &meshSpacing)
KOKKOS_INLINE_FUNCTION vector_type getVertexPosition(const NDIndex< Dim > &ndi) const override
KOKKOS_INLINE_FUNCTION ~UniformCartesian()=default
Mesh< double, Dim >::vector_type vector_type
KOKKOS_INLINE_FUNCTION void updateCellVolume_m()
KOKKOS_INLINE_FUNCTION T getCellVolume() const override
KOKKOS_INLINE_FUNCTION vector_type getDeltaVertex(const NDIndex< Dim > &ndi) const override
KOKKOS_INLINE_FUNCTION const vector_type & getMeshSpacing() const override
KOKKOS_INLINE_FUNCTION T getMeshSpacing(unsigned dim) const
KOKKOS_INLINE_FUNCTION void initialize(const NDIndex< Dim > &ndi, const vector_type &hx, const vector_type &origin)
vector_type meshSpacing_m
KOKKOS_INLINE_FUNCTION UniformCartesian(const NDIndex< Dim > &ndi, const vector_type &hx, const vector_type &origin)