#include <periodic_sampling.hpp>
Public Types | |
using | discrete_dimension_type = PeriodicSampling |
using | discrete_domain_type = DiscreteDomain< DDim > |
using | discrete_element_type = DiscreteElement< DDim > |
using | discrete_vector_type = DiscreteVector< DDim > |
Public Member Functions | |
Impl ()=default | |
Impl (Impl const &)=delete | |
template<class OriginMemorySpace > | |
Impl (Impl< DDim, OriginMemorySpace > const &impl) | |
Impl (Impl &&)=default | |
Impl (continuous_element_type origin, Real step, std::size_t n_period) | |
Construct a Impl from a point and a spacing step. | |
~Impl ()=default | |
Impl & | operator= (Impl const &x)=delete |
Impl & | operator= (Impl &&x)=default |
KOKKOS_FUNCTION continuous_element_type | origin () const noexcept |
Lower bound index of the mesh. | |
KOKKOS_FUNCTION discrete_element_type | front () const noexcept |
Lower bound index of the mesh. | |
KOKKOS_FUNCTION Real | step () const |
Spacing step of the mesh. | |
KOKKOS_FUNCTION std::size_t | n_period () const |
Number of steps in a period. | |
KOKKOS_FUNCTION continuous_element_type | coordinate (discrete_element_type const &icoord) const noexcept |
Convert a mesh index into a position in CDim | |
Friends | |
template<class ODDim , class OMemorySpace > | |
class | Impl |
Definition at line 48 of file periodic_sampling.hpp.
using ddc::PeriodicSampling< CDim >::Impl< DDim, MemorySpace >::discrete_dimension_type = PeriodicSampling |
Definition at line 61 of file periodic_sampling.hpp.
using ddc::PeriodicSampling< CDim >::Impl< DDim, MemorySpace >::discrete_domain_type = DiscreteDomain<DDim> |
Definition at line 63 of file periodic_sampling.hpp.
using ddc::PeriodicSampling< CDim >::Impl< DDim, MemorySpace >::discrete_element_type = DiscreteElement<DDim> |
Definition at line 65 of file periodic_sampling.hpp.
using ddc::PeriodicSampling< CDim >::Impl< DDim, MemorySpace >::discrete_vector_type = DiscreteVector<DDim> |
Definition at line 67 of file periodic_sampling.hpp.
|
default |
|
delete |
|
inlineexplicit |
Definition at line 74 of file periodic_sampling.hpp.
|
default |
|
inline |
Construct a Impl
from a point and a spacing step.
origin | the real coordinate of mesh coordinate 0 |
step | the real distance between two points of mesh distance 1 |
n_period | the number of steps in a period |
Definition at line 89 of file periodic_sampling.hpp.
|
default |
|
delete |
|
default |
|
inlinenoexcept |
Lower bound index of the mesh.
Definition at line 105 of file periodic_sampling.hpp.
|
inlinenoexcept |
Lower bound index of the mesh.
Definition at line 111 of file periodic_sampling.hpp.
|
inline |
Spacing step of the mesh.
Definition at line 117 of file periodic_sampling.hpp.
|
inline |
Number of steps in a period.
Definition at line 123 of file periodic_sampling.hpp.
|
inlinenoexcept |
Convert a mesh index into a position in CDim
Definition at line 130 of file periodic_sampling.hpp.
Definition at line 51 of file periodic_sampling.hpp.