SpECTRE  v2024.04.12
domain::CoordinateMaps::ProductOf2Maps< Map1, Map2 > Class Template Reference

Product of two codimension=0 CoordinateMaps. More...

#include <ProductMaps.hpp>

Public Types

using map_list = tmpl::list< Map1, Map2 >
 

Public Member Functions

 ProductOf2Maps (Map1 map1, Map2 map2)
 
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::NoFrameinv_jacobian (const std::array< T, dim > &source_coords) const
 
template<typename T >
tnsr::Ij< tt::remove_cvref_wrap_t< T >, dim, Frame::NoFramejacobian (const std::array< T, dim > &source_coords) const
 
void pup (PUP::er &p)
 
bool is_identity () const
 

Static Public Attributes

static constexpr size_t dim = Map1::dim + Map2::dim
 

Friends

bool operator== (const ProductOf2Maps &lhs, const ProductOf2Maps &rhs)
 

Detailed Description

template<typename Map1, typename Map2>
class domain::CoordinateMaps::ProductOf2Maps< Map1, Map2 >

Product of two codimension=0 CoordinateMaps.

Template Parameters
Map1the map for the first coordinate(s)
Map2the map for the second coordinate(s)

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