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

#include <non_uniform_point_sampling.hpp>

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

Public Types

using discrete_dimension_type = NonUniformPointSampling
 
using discrete_domain_type = DiscreteDomain< DDim >
 
using discrete_element_type = DiscreteElement< DDim >
 
using discrete_vector_type = DiscreteVector< DDim >
 

Public Member Functions

 Impl ()=default
 
 Impl (std::initializer_list< continuous_element_type > points)
 Construct a NonUniformPointSampling using a brace-list, i.e. NonUniformPointSampling mesh({0., 1.})
 
template<class InputRange >
 Impl (InputRange const &points)
 Construct a NonUniformPointSampling using a C++20 "common range".
 
template<class InputIt >
 Impl (InputIt points_begin, InputIt points_end)
 Construct a NonUniformPointSampling using a pair of iterators.
 
template<class OriginMemorySpace >
 Impl (Impl< DDim, OriginMemorySpace > const &impl)
 
 Impl (Impl const &x)=delete
 
 Impl (Impl &&x)=default
 
 ~Impl ()=default
 
Imploperator= (Impl const &x)=delete
 
Imploperator= (Impl &&x)=default
 
KOKKOS_FUNCTION std::size_t size () const
 
KOKKOS_FUNCTION discrete_element_type front () const noexcept
 Lower bound index 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::NonUniformPointSampling< CDim >::Impl< DDim, MemorySpace >

Definition at line 48 of file non_uniform_point_sampling.hpp.

Member Typedef Documentation

◆ discrete_dimension_type

Definition at line 56 of file non_uniform_point_sampling.hpp.

◆ discrete_domain_type

Definition at line 58 of file non_uniform_point_sampling.hpp.

◆ discrete_element_type

Definition at line 60 of file non_uniform_point_sampling.hpp.

◆ discrete_vector_type

Definition at line 62 of file non_uniform_point_sampling.hpp.

Constructor & Destructor Documentation

◆ Impl() [1/7]

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

◆ Impl() [2/7]

template<class CDim >
template<class DDim , class MemorySpace >
ddc::NonUniformPointSampling< CDim >::Impl< DDim, MemorySpace >::Impl ( std::initializer_list< continuous_element_type points)
inline

Construct a NonUniformPointSampling using a brace-list, i.e. NonUniformPointSampling mesh({0., 1.})

Definition at line 67 of file non_uniform_point_sampling.hpp.

◆ Impl() [3/7]

template<class CDim >
template<class DDim , class MemorySpace >
template<class InputRange >
ddc::NonUniformPointSampling< CDim >::Impl< DDim, MemorySpace >::Impl ( InputRange const points)
inlineexplicit

Construct a NonUniformPointSampling using a C++20 "common range".

Definition at line 78 of file non_uniform_point_sampling.hpp.

◆ Impl() [4/7]

template<class CDim >
template<class DDim , class MemorySpace >
template<class InputIt >
ddc::NonUniformPointSampling< CDim >::Impl< DDim, MemorySpace >::Impl ( InputIt  points_begin,
InputIt  points_end 
)
inline

Construct a NonUniformPointSampling using a pair of iterators.

Definition at line 93 of file non_uniform_point_sampling.hpp.

◆ Impl() [5/7]

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

Definition at line 103 of file non_uniform_point_sampling.hpp.

◆ Impl() [6/7]

template<class CDim >
template<class DDim , class MemorySpace >
ddc::NonUniformPointSampling< CDim >::Impl< DDim, MemorySpace >::Impl ( Impl< DDim, MemorySpace > const x)
delete

◆ Impl() [7/7]

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

◆ ~Impl()

Member Function Documentation

◆ operator=() [1/2]

◆ operator=() [2/2]

◆ size()

template<class CDim >
template<class DDim , class MemorySpace >
KOKKOS_FUNCTION std::size_t ddc::NonUniformPointSampling< CDim >::Impl< DDim, MemorySpace >::size ( ) const
inline

Definition at line 118 of file non_uniform_point_sampling.hpp.

◆ front()

Lower bound index of the mesh.

Definition at line 124 of file non_uniform_point_sampling.hpp.

◆ coordinate()

Convert a mesh index into a position in CDim

Definition at line 131 of file non_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 51 of file non_uniform_point_sampling.hpp.


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