Class BoundCoordinateMap

Class Documentation

class BoundCoordinateMap

Public Functions

BoundCoordinateMap(std::shared_ptr<const CoordinateSystem> system, Kokkos::View<Real**, DeviceMemorySpace> mapped)
CoordinateView<DeviceMemorySpace> MappedPoints() const

Query points expressed in the map’s target coordinate system.

inline LO NumPoints() const noexcept
virtual ValueBasis OutputBasis(const ValueBasis &stored) const

Value basis produced for rank >= 1 values stored in stored. Throws when this map cannot re-express that basis.

virtual ValueView<Real, DeviceMemorySpace> TransformValues(ValueView<Real, DeviceMemorySpace> values) const

Re-expresses values in place and returns the same buffer tagged OutputBasis(values.GetBasis()).

virtual ~BoundCoordinateMap() = default
BoundCoordinateMap(const BoundCoordinateMap&) = delete
BoundCoordinateMap &operator=(const BoundCoordinateMap&) = delete

Protected Functions

ValueBasis ValidateTransformValues(const char *who, const ValueView<Real, DeviceMemorySpace> &values) const

Throws unless values holds NumPoints() rows in a basis this map re-expresses; returns the basis the transformed values are in.