Template Class UniformGridSplineEvaluatorFactory

Inheritance Relationships

Base Type

  • public pcms::detail::TypedPointEvaluatorFactory< Real, pcms::detail::UniformGridBinding< Dim > >

Class Documentation

template<unsigned Dim>
class UniformGridSplineEvaluatorFactory : public pcms::detail::TypedPointEvaluatorFactory<Real, pcms::detail::UniformGridBinding<Dim>>

Point evaluation of the cubic (1D) or bicubic (2D) spline of fields on a uniform grid, and of its gradient.

Template Parameters:

Dim – grid dimension, 1 or 2

Public Functions

inline UniformGridSplineEvaluatorFactory(std::shared_ptr<const UniformGridGeometry<Dim>> geometry, std::shared_ptr<const UniformGridFieldLayout<Dim>> layout)
Parameters:
  • geometry – geometry of the layout’s grid

  • layout – order-1 single-component uniform-grid layout

Throws:

pcms_error – if the layout is not order 1 with one component

Protected Functions

inline std::unique_ptr<PointEvaluator<Real>> CreateEvaluator(std::shared_ptr<const Bound> bound, DifferentialOperator op) const override