Template Class TransformedPointEvaluator

Inheritance Relationships

Base Type

Class Documentation

template<typename T>
class TransformedPointEvaluator : public pcms::PointEvaluator<T>

Point evaluator over mapped query points that re-expresses evaluated components in the bound map’s output basis.

Public Functions

inline TransformedPointEvaluator(std::unique_ptr<BoundCoordinateMap> bound, std::unique_ptr<PointEvaluator<T>> inner, OutOfBoundsPolicy policy)
Parameters:
  • bound – map bound to the query points; owns the mapped coordinates inner was built over, so it is declared first and outlives it

  • inner – evaluator bound to bound’s mapped points

  • policy – out-of-bounds policy inner was built with

inline virtual LO NumPoints() const override

Number of query points, fixed at construction.

inline void EvaluateImpl(const Field<T> &field, ValueView<T, DeviceMemorySpace> values) const override
inline virtual Kokkos::View<const LO*, DeviceMemorySpace> FilledPoints() const override

Query points whose output rows Evaluate sets to the out-of-bounds fill value rather than to field values; empty unless the evaluator was created with OutOfBoundsMode::FILL. Fixed at construction.

inline virtual ValueBasis OutputBasis(const ValueBasis &stored) const override

Value basis this evaluator writes for a field stored in stored.