DDC 0.0.0

a discrete domain computation library

ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace > Class Template Reference

Public Types

using discrete_dimension_type = UniformPointSampling
 
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)
 Construct a Impl from a point and a spacing step.
 
 ~Impl ()=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 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
 

Member Typedef Documentation

◆ discrete_dimension_type

template<class CDim >
template<class DDim , class MemorySpace >
using ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace >::discrete_dimension_type = UniformPointSampling

◆ discrete_domain_type

template<class CDim >
template<class DDim , class MemorySpace >
using ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace >::discrete_domain_type = DiscreteDomain<DDim>

◆ discrete_element_type

template<class CDim >
template<class DDim , class MemorySpace >
using ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace >::discrete_element_type = DiscreteElement<DDim>

◆ discrete_vector_type

template<class CDim >
template<class DDim , class MemorySpace >
using ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace >::discrete_vector_type = DiscreteVector<DDim>

Constructor & Destructor Documentation

◆ Impl() [1/5]

template<class CDim >
template<class DDim , class MemorySpace >
ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace >::Impl ( )
default

◆ Impl() [2/5]

template<class CDim >
template<class DDim , class MemorySpace >
ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace >::Impl ( Impl< DDim, MemorySpace > const & )
delete

◆ Impl() [3/5]

template<class CDim >
template<class DDim , class MemorySpace >
ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace >::Impl ( Impl< DDim, OriginMemorySpace > const & impl)
inlineexplicit

◆ Impl() [4/5]

template<class CDim >
template<class DDim , class MemorySpace >
ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace >::Impl ( Impl< DDim, MemorySpace > && )
default

◆ Impl() [5/5]

template<class CDim >
template<class DDim , class MemorySpace >
ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace >::Impl ( continuous_element_type origin,
Real step )
inline

Construct a Impl from a point and a spacing step.

Parameters
originthe real coordinate of mesh coordinate 0
stepthe real distance between two points of mesh distance 1

◆ ~Impl()

template<class CDim >
template<class DDim , class MemorySpace >
ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace >::~Impl ( )
default

Member Function Documentation

◆ origin()

template<class CDim >
template<class DDim , class MemorySpace >
KOKKOS_FUNCTION continuous_element_type ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace >::origin ( ) const
inlinenoexcept

Lower bound index of the mesh.

◆ front()

template<class CDim >
template<class DDim , class MemorySpace >
KOKKOS_FUNCTION discrete_element_type ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace >::front ( ) const
inlinenoexcept

Lower bound index of the mesh.

◆ step()

template<class CDim >
template<class DDim , class MemorySpace >
KOKKOS_FUNCTION Real ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace >::step ( ) const
inline

Spacing step of the mesh.

◆ coordinate()

template<class CDim >
template<class DDim , class MemorySpace >
KOKKOS_FUNCTION continuous_element_type ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace >::coordinate ( discrete_element_type const & icoord) const
inlinenoexcept

Convert a mesh index into a position in CDim

Friends And Related Symbol Documentation

◆ Impl

template<class CDim >
template<class DDim , class MemorySpace >
template<class ODDim , class OMemorySpace >
friend class Impl
friend

The documentation for this class was generated from the following file: