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 | 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 a range 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 ranges containing the points coordinates along the DDim dimension. | |
NonUniformPointSampling
models a non-uniform discretization of the CDim
segment \([a, b]\).
Definition at line 38 of file non_uniform_point_sampling.hpp.
Definition at line 41 of file non_uniform_point_sampling.hpp.
using ddc::NonUniformPointSampling< CDim >::discrete_dimension_type = NonUniformPointSampling |
Definition at line 49 of file non_uniform_point_sampling.hpp.
|
inlinestatic |
Construct an Impl<Kokkos::HostSpace> and associated discrete_domain_type from a range containing the points coordinates along the DDim
dimension.
non_uniform_points | a range (std::vector, std::array, ...) containing the coordinates of the points of the domain. |
Definition at line 139 of file non_uniform_point_sampling.hpp.
|
inlinestatic |
Construct 4 non-uniform DiscreteDomain
and an Impl<Kokkos::HostSpace> from 3 ranges containing the points coordinates along the DDim
dimension.
domain_r | a range containing the coordinates of the points of the main domain along the DDim position |
pre_ghost_r | a range containing the positions of the ghost points before the main domain the DDim position |
post_ghost_r | a range containing the positions of the ghost points after the main domain the DDim position |
Definition at line 161 of file non_uniform_point_sampling.hpp.