Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
domain::CoordinateMaps::TimeDependent::Translation Class Reference

Translation map defined by \(x = \xi+T(t)\). More...

#include <Translation.hpp>

Public Member Functions

 Translation (std::string function_of_time_name) noexcept
 
template<typename T >
std::array< tt::remove_cvref_wrap_t< T >, 1 > operator() (const std::array< T, 1 > &source_coords, double time, const std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime >> &functions_of_time) const noexcept
 
boost::optional< std::array< double, 1 > > inverse (const std::array< double, 1 > &target_coords, double time, const std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime >> &functions_of_time) const noexcept
 
template<typename T >
std::array< tt::remove_cvref_wrap_t< T >, 1 > frame_velocity (const std::array< T, 1 > &source_coords, double time, const std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime >> &functions_of_time) const noexcept
 
template<typename T >
tnsr::Ij< tt::remove_cvref_wrap_t< T >, 1, Frame::NoFrameinv_jacobian (const std::array< T, 1 > &source_coords) const noexcept
 
template<typename T >
tnsr::Ij< tt::remove_cvref_wrap_t< T >, 1, Frame::NoFramejacobian (const std::array< T, 1 > &source_coords) const noexcept
 
void pup (PUP::er &p) noexcept
 
template<size_t DerivOrder>
void operator() (const gsl::not_null< FunctionOfTimeUpdater< DerivOrder > * > updater, const domain::FunctionsOfTime::PiecewisePolynomial< DerivOrder > &f_of_t, const double time, const DataVector &coords) noexcept
 

Static Public Member Functions

static bool is_identity () noexcept
 

Static Public Attributes

static constexpr size_t dim = 1
 

Friends

bool operator== (const Translation &lhs, const Translation &rhs) noexcept
 

Detailed Description

Translation map defined by \(x = \xi+T(t)\).

The map adds a translation, \(T(t)\), to the coordinates \(\xi\), where \(T(t)\) is a FunctionOfTime.


The documentation for this class was generated from the following files: