SpECTRE  v2024.04.12
domain::CoordinateMaps::Identity< Dim > Class Template Reference

Identity map from \(\xi \rightarrow x\). More...

#include <Identity.hpp>

Public Member Functions

 Identity (const Identity &)=default
 
 Identity (Identity &&)=default
 
Identityoperator= (const Identity &)=default
 
Identityoperator= (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::NoFramejacobian (const std::array< T, Dim > &source_coords) const
 
template<typename T >
tnsr::Ij< tt::remove_cvref_wrap_t< T >, Dim, Frame::NoFrameinv_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
 

Detailed Description

template<size_t Dim>
class domain::CoordinateMaps::Identity< Dim >

Identity map from \(\xi \rightarrow x\).


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