SpECTRE
v2024.09.29
|
Identity map from \(\xi \rightarrow x\). More...
#include <Identity.hpp>
Public Member Functions | |
Identity (const Identity &)=default | |
Identity (Identity &&)=default | |
Identity & | operator= (const Identity &)=default |
Identity & | operator= (Identity &&)=default |
template<typename T > | |
std::array< tt::remove_cvref_wrap_t< T >, Dim > | operator() (const std::array< T, Dim > &source_coords) const |
std::optional< std::array< double, Dim > > | inverse (const std::array< double, Dim > &target_coords) const |
The inverse function is only callable with doubles because the inverse might fail if called for a point out of range, and it is unclear what should happen if the inverse were to succeed for some points in a DataVector but fail for other points. | |
template<typename T > | |
tnsr::Ij< tt::remove_cvref_wrap_t< T >, Dim, Frame::NoFrame > | jacobian (const std::array< T, Dim > &source_coords) const |
template<typename T > | |
tnsr::Ij< tt::remove_cvref_wrap_t< T >, Dim, Frame::NoFrame > | inv_jacobian (const std::array< T, Dim > &source_coords) const |
void | pup (PUP::er &) |
bool | is_identity () const |
Static Public Attributes | |
static constexpr size_t | dim = Dim |
Identity map from \(\xi \rightarrow x\).