DDC 0.1.0
Loading...
Searching...
No Matches
ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace > Class Template Reference

#include <uniform_point_sampling.hpp>

Collaboration diagram for ddc::UniformPointSampling< CDim >::Impl< DDim, MemorySpace >:
Collaboration graph

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
 
Imploperator= (Impl const &x)=delete
 
Imploperator= (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 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
 

Detailed Description

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

Definition at line 47 of file uniform_point_sampling.hpp.

Member Typedef Documentation

◆ discrete_dimension_type

Definition at line 58 of file uniform_point_sampling.hpp.

◆ discrete_domain_type

Definition at line 60 of file uniform_point_sampling.hpp.

◆ discrete_element_type

Definition at line 62 of file uniform_point_sampling.hpp.

◆ discrete_vector_type

Definition at line 64 of file uniform_point_sampling.hpp.

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

Definition at line 71 of file uniform_point_sampling.hpp.

◆ 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

Definition at line 84 of file uniform_point_sampling.hpp.

◆ ~Impl()

Member Function Documentation

◆ operator=() [1/2]

◆ operator=() [2/2]

◆ origin()

Lower bound index of the mesh.

Definition at line 96 of file uniform_point_sampling.hpp.

◆ front()

Lower bound index of the mesh.

Definition at line 102 of file uniform_point_sampling.hpp.

◆ step()

Spacing step of the mesh.

Definition at line 108 of file uniform_point_sampling.hpp.

◆ coordinate()

Convert a mesh index into a position in CDim

Definition at line 115 of file uniform_point_sampling.hpp.

Friends And Related Symbol Documentation

◆ Impl

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

Definition at line 50 of file uniform_point_sampling.hpp.


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