Tatooine
|
#include <vertex_property_sampler.h>
Public Types | |
using | this_type = base_vertex_property_sampler< DerivedSampler, Real, ValueType, HeadInterpolationKernel, TailInterpolationKernels... > |
using | indexing_type = base_vertex_property_sampler_at_t< this_type, Real, ValueType, HeadInterpolationKernel, TailInterpolationKernels... > |
using | real_type = Real |
using | value_type = ValueType |
Public Member Functions | |
auto constexpr | as_derived_sampler () -> DerivedSampler & |
returns casted as_derived data More... | |
auto constexpr | as_derived_sampler () const -> DerivedSampler const & |
returns casted as_derived data More... | |
auto | property () const -> auto const & |
auto | grid () const -> auto const & |
auto | data_at (integral auto const ... is) const -> value_type const & |
auto | position_at (integral auto const ... is) const |
template<std::size_t DimensionIndex> | |
auto | cell_index (arithmetic auto const x) const -> decltype(auto) |
auto | at (std::size_t const i) const -> decltype(auto) |
auto | operator[] (std::size_t i) const -> decltype(auto) |
Static Public Member Functions | |
static auto constexpr | current_dimension_index () |
static auto constexpr | num_dimensions () -> std::size_t |
static auto constexpr | num_components () |
Protected Member Functions | |
auto | finite_differences_coefficients (std::size_t const vertex_index, std::size_t const stencil_size) const |
template<typename It > | |
auto | differentiate (floating_point_range auto const &coeffs, It sample_begin, It sample_end) const |
Calcuates derivative from samples and differential coefficients. More... | |
auto | interpolate_cell_without_derivative (auto const &cit_head, auto const &... cit_tail) const -> value_type |
auto | interpolate_cell_with_one_derivative (auto const &cit_head, auto const &... cit_tail) const -> value_type |
auto constexpr | interpolate_cell (auto const &... cell_indices_interpolation_factors) const -> value_type |
Decides if first derivative is needed or not. More... | |
template<std::size_t... Is> | |
auto constexpr | sample (std::index_sequence< Is... >, arithmetic auto const ... xs) const -> value_type requires(sizeof...(Is)==sizeof...(xs)) |
Friends | |
template<typename , typename , typename , template< typename > typename, template< typename > typename...> | |
struct | base_vertex_property_sampler |
CRTP inheritance class for grid_vertex_property_sampler and grid_vertex_property_sampler_view
using tatooine::detail::rectilinear_grid::base_vertex_property_sampler< DerivedSampler, Real, ValueType, HeadInterpolationKernel, TailInterpolationKernels >::indexing_type = base_vertex_property_sampler_at_t< this_type, Real, ValueType, HeadInterpolationKernel, TailInterpolationKernels...> |
using tatooine::detail::rectilinear_grid::base_vertex_property_sampler< DerivedSampler, Real, ValueType, HeadInterpolationKernel, TailInterpolationKernels >::real_type = Real |
using tatooine::detail::rectilinear_grid::base_vertex_property_sampler< DerivedSampler, Real, ValueType, HeadInterpolationKernel, TailInterpolationKernels >::this_type = base_vertex_property_sampler<DerivedSampler, Real, ValueType, HeadInterpolationKernel, TailInterpolationKernels...> |
using tatooine::detail::rectilinear_grid::base_vertex_property_sampler< DerivedSampler, Real, ValueType, HeadInterpolationKernel, TailInterpolationKernels >::value_type = ValueType |
|
inlineconstexpr |
returns casted as_derived data
|
inlineconstexpr |
returns casted as_derived data
|
inline |
indexing of data. if num_dimensions() == 1 returns actual data otherwise returns a vertex_property_sampler_view with i as fixed index
|
inline |
|
inlinestaticconstexpr |
|
inline |
data at specified indices is... CRTP-virtual method
|
inlineprotected |
Calcuates derivative from samples and differential coefficients.
|
inlineprotected |
|
inline |
|
inlineconstexprprotected |
Decides if first derivative is needed or not.
|
inlineprotected |
|
inlineprotected |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inline |
|
inline |
|
inline |
|
inlineconstexprprotected |
|
friend |