Gyselalib++
coordinate_converter.hpp
1 // SPDX-License-Identifier: MIT
2 #pragma once
3 
11 template <class CoordinateStart, class CoordinateEnd>
13 {
14 public:
22  virtual KOKKOS_FUNCTION CoordinateEnd operator()(CoordinateStart const& coord) const = 0;
23 };
An operator to convert from the start coordinate type to the end coordinate type.
Definition: coordinate_converter.hpp:13
virtual KOKKOS_FUNCTION CoordinateEnd operator()(CoordinateStart const &coord) const =0
Convert the coordinate to the equivalent coordinate in a different coordinate system.