An operator to convert from the start coordinate type to the end coordinate type. More...
Public Member Functions | |
virtual KOKKOS_FUNCTION CoordinateEnd | operator() (CoordinateStart const &coord) const =0 |
Convert the coordinate to the equivalent coordinate in a different coordinate system. More... | |
An operator to convert from the start coordinate type to the end coordinate type.
All operators which can convert between coordinates should inherit from this class.
CoordinateStart | The type of the coordinate to be converted from. |
CoordinateEnd | The type of the coordinate to be converted to. |
|
pure virtual |
Convert the coordinate to the equivalent coordinate in a different coordinate system.
[in] | coord | The coordinate to be converted. |
Implemented in CzarnyToCartesian< X, Y, R, Theta >, CircularToCartesian< X, Y, R, Theta >, CartesianToBarycentricCoordinates< X, Y, Corner1Tag, Corner2Tag, Corner3Tag >, and CartesianToBarycentricCoordinates< X, Y, Corner1Tag, Corner2Tag, Corner3Tag >.