Tatooine
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels > Struct Template Reference

#include <vertex_property_sampler.h>

Inheritance diagram for tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >:
[legend]
Collaboration diagram for tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >:
[legend]

Public Types

using this_type = vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels... >
 
using real_type = Real
 
using value_type = ValueType
 
using parent_type = base_vertex_property_sampler< this_type, real_type, value_type, InterpolationKernels... >
 
- Public Types inherited from tatooine::detail::rectilinear_grid::base_vertex_property_sampler< vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels... >, Real, ValueType, InterpolationKernels... >
using this_type = base_vertex_property_sampler< vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels... >, Real, ValueType, InterpolationKernels..., TailInterpolationKernels... >
 
using indexing_type = base_vertex_property_sampler_at_t< this_type, Real, ValueType, InterpolationKernels..., TailInterpolationKernels... >
 
using real_type = Real
 
using value_type = ValueType
 

Public Member Functions

 vertex_property_sampler_view (TopSampler const &top_sampler, std::size_t const fixed_index)
 
auto constexpr property () const -> auto const &
 
auto grid () const -> auto const &
 
auto constexpr data_at (integral auto const ... is) const -> value_type const &
 
template<std::size_t DimensionIndex>
auto constexpr cell_index (arithmetic auto const x) const -> decltype(auto)
 
- Public Member Functions inherited from tatooine::detail::rectilinear_grid::base_vertex_property_sampler< vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels... >, Real, ValueType, InterpolationKernels... >
auto constexpr as_derived_sampler () -> vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels... > &
 returns casted as_derived data More...
 
auto constexpr as_derived_sampler () const -> vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels... > 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
 
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 data_is_changeable ()
 
static auto constexpr num_dimensions () -> std::size_t
 
static auto constexpr current_dimension_index ()
 
- Static Public Member Functions inherited from tatooine::detail::rectilinear_grid::base_vertex_property_sampler< vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels... >, Real, ValueType, InterpolationKernels... >
static auto constexpr current_dimension_index ()
 
static auto constexpr num_dimensions () -> std::size_t
 
static auto constexpr num_components ()
 

Public Attributes

TopSampler const & m_top_sampler
 
std::size_t m_fixed_index
 

Additional Inherited Members

- Protected Member Functions inherited from tatooine::detail::rectilinear_grid::base_vertex_property_sampler< vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels... >, Real, ValueType, InterpolationKernels... >
auto finite_differences_coefficients (std::size_t const vertex_index, std::size_t const stencil_size) const
 
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...
 
auto constexpr sample (std::index_sequence< Is... >, arithmetic auto const ... xs) const -> value_type requires(sizeof...(Is)==sizeof...(xs))
 

Detailed Description

template<typename TopSampler, typename Real, typename ValueType, template< typename > typename... InterpolationKernels>
struct tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >

holds an object of type TopSampler which can either be grid_vertex_property_sampler or grid_vertex_property_sampler_view and a fixed index of the top grid_vertex_property_sampler

Member Typedef Documentation

◆ parent_type

template<typename TopSampler , typename Real , typename ValueType , template< typename > typename... InterpolationKernels>
using tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >::parent_type = base_vertex_property_sampler<this_type, real_type, value_type, InterpolationKernels...>

◆ real_type

template<typename TopSampler , typename Real , typename ValueType , template< typename > typename... InterpolationKernels>
using tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >::real_type = Real

◆ this_type

template<typename TopSampler , typename Real , typename ValueType , template< typename > typename... InterpolationKernels>
using tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >::this_type = vertex_property_sampler_view<TopSampler, Real, ValueType, InterpolationKernels...>

◆ value_type

template<typename TopSampler , typename Real , typename ValueType , template< typename > typename... InterpolationKernels>
using tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >::value_type = ValueType

Constructor & Destructor Documentation

◆ vertex_property_sampler_view()

template<typename TopSampler , typename Real , typename ValueType , template< typename > typename... InterpolationKernels>
tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >::vertex_property_sampler_view ( TopSampler const &  top_sampler,
std::size_t const  fixed_index 
)
inline

Member Function Documentation

◆ cell_index()

template<typename TopSampler , typename Real , typename ValueType , template< typename > typename... InterpolationKernels>
template<std::size_t DimensionIndex>
auto constexpr tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >::cell_index ( arithmetic auto const  x) const -> decltype(auto)
inlineconstexpr

◆ current_dimension_index()

template<typename TopSampler , typename Real , typename ValueType , template< typename > typename... InterpolationKernels>
static auto constexpr tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >::current_dimension_index ( )
inlinestaticconstexpr

◆ data_at()

template<typename TopSampler , typename Real , typename ValueType , template< typename > typename... InterpolationKernels>
auto constexpr tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >::data_at ( integral auto const ...  is) const -> value_type const&
inlineconstexpr

returns data of top vertex_property_sampler at m_fixed_index and index list is...

◆ data_is_changeable()

template<typename TopSampler , typename Real , typename ValueType , template< typename > typename... InterpolationKernels>
static auto constexpr tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >::data_is_changeable ( )
inlinestaticconstexpr

◆ grid()

template<typename TopSampler , typename Real , typename ValueType , template< typename > typename... InterpolationKernels>
auto tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >::grid ( ) const -> auto const&
inline

◆ num_dimensions()

template<typename TopSampler , typename Real , typename ValueType , template< typename > typename... InterpolationKernels>
static auto constexpr tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >::num_dimensions ( ) -> std::size_t
inlinestaticconstexpr

◆ property()

template<typename TopSampler , typename Real , typename ValueType , template< typename > typename... InterpolationKernels>
auto constexpr tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >::property ( ) const -> auto const&
inlineconstexpr

Member Data Documentation

◆ m_fixed_index

template<typename TopSampler , typename Real , typename ValueType , template< typename > typename... InterpolationKernels>
std::size_t tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >::m_fixed_index

◆ m_top_sampler

template<typename TopSampler , typename Real , typename ValueType , template< typename > typename... InterpolationKernels>
TopSampler const& tatooine::detail::rectilinear_grid::vertex_property_sampler_view< TopSampler, Real, ValueType, InterpolationKernels >::m_top_sampler

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