Template Class UniformGridSplinePointEvaluator
Defined in File spline_evaluator.hpp
Inheritance Relationships
Base Type
public PointEvaluator< Real, pcms::detail::default_layout_for_memory_space_t< DeviceMemorySpace > >
Class Documentation
-
template<unsigned Dim, typename LayoutPolicy = pcms::detail::default_layout_for_memory_space_t<DeviceMemorySpace>>
class UniformGridSplinePointEvaluator : public PointEvaluator<Real, pcms::detail::default_layout_for_memory_space_t<DeviceMemorySpace>> Evaluates the not-a-knot cubic (1D) or bicubic (2D) spline of a field’s grid values, or its gradient for DifferentialOperator::Gradient.
- Template Parameters:
Dim – grid dimension, 1 or 2
Public Functions
- Parameters:
layout – order-1 single-component uniform-grid layout
binding – cells of the query points
op – Value or Gradient
-
inline void EvaluateImpl(const Field<Real> &field, ValueView<Real, DeviceMemorySpace, LayoutPolicy> out) const override