NonUniformPointSampling
models a non-uniform discretization of the CDim
segment \([a, b]\).
More...
#include <non_uniform_point_sampling.hpp>
Classes | |
class | Impl |
Public Types | |
using | continuous_dimension_type = CDim |
using | continuous_element_type = Coordinate< CDim > |
using | discrete_dimension_type = NonUniformPointSampling |
Static Public Member Functions | |
template<class DDim , class InputRange > | |
static std::tuple< typename DDim::template Impl< DDim, Kokkos::HostSpace >, DiscreteDomain< DDim > > | init (InputRange const non_uniform_points) |
Construct an Impl<Kokkos::HostSpace> and associated discrete_domain_type from an iterator containing the points coordinates along the DDim dimension. | |
template<class DDim , class InputRange > | |
static std::tuple< typename DDim::template Impl< DDim, Kokkos::HostSpace >, DiscreteDomain< DDim >, DiscreteDomain< DDim >, DiscreteDomain< DDim >, DiscreteDomain< DDim > > | init_ghosted (InputRange const &domain_r, InputRange const &pre_ghost_r, InputRange const &post_ghost_r) |
Construct 4 non-uniform DiscreteDomain and an Impl<Kokkos::HostSpace> from 3 iterators containing the points coordinates along the DDim dimension. | |
NonUniformPointSampling
models a non-uniform discretization of the CDim
segment \([a, b]\).
Definition at line 36 of file non_uniform_point_sampling.hpp.
Definition at line 39 of file non_uniform_point_sampling.hpp.
using ddc::NonUniformPointSampling< CDim >::continuous_element_type = Coordinate<CDim> |
Definition at line 41 of file non_uniform_point_sampling.hpp.
using ddc::NonUniformPointSampling< CDim >::discrete_dimension_type = NonUniformPointSampling |
Definition at line 44 of file non_uniform_point_sampling.hpp.
|
inlinestatic |
Construct an Impl<Kokkos::HostSpace> and associated discrete_domain_type from an iterator containing the points coordinates along the DDim
dimension.
non_uniform_points | a vector containing the coordinates of the points of the domain. |
Definition at line 144 of file non_uniform_point_sampling.hpp.
|
inlinestatic |
Construct 4 non-uniform DiscreteDomain
and an Impl<Kokkos::HostSpace> from 3 iterators containing the points coordinates along the DDim
dimension.
domain_r | an iterator containing the coordinates of the points of the main domain along the DDim position |
pre_ghost_r | an iterator containing the positions of the ghost points before the main domain the DDim position |
post_ghost_r | an iterator containing the positions of the ghost points after the main domain the DDim position |
Definition at line 169 of file non_uniform_point_sampling.hpp.