SpECTRE
v2025.03.17
|
Torus made by removing two polar cones from a spherical shell. More...
#include <SphericalTorus.hpp>
Classes | |
struct | CompressionLevel |
struct | FractionOfTorus |
struct | MinPolarAngle |
struct | RadialRange |
Public Types | |
using | options = implementation defined |
Public Member Functions | |
SphericalTorus (const std::array< double, 2 > &radial_range, double min_polar_angle, double fraction_of_torus, double compression_level, const Options::Context &context={}) | |
SphericalTorus (double r_min, double r_max, double min_polar_angle, double fraction_of_torus=1.0, double compression_level=0.0, const Options::Context &context={}) | |
template<typename T > | |
tnsr::I< T, 3 > | operator() (const tnsr::I< T, 3 > &source_coords) const |
tnsr::I< double, 3 > | inverse (const tnsr::I< double, 3 > &target_coords) const |
template<typename T > | |
Jacobian< T, 3, Frame::BlockLogical, Frame::Inertial > | jacobian (const tnsr::I< T, 3 > &source_coords) const |
template<typename T > | |
InverseJacobian< T, 3, Frame::BlockLogical, Frame::Inertial > | inv_jacobian (const tnsr::I< T, 3 > &source_coords) const |
template<typename T > | |
tnsr::Ijj< T, 3, Frame::NoFrame > | hessian (const tnsr::I< T, 3 > &source_coords) const |
template<typename T > | |
tnsr::Ijk< T, 3, Frame::NoFrame > | derivative_of_inv_jacobian (const tnsr::I< T, 3 > &source_coords) const |
void | pup (PUP::er &p) |
bool | is_identity () const |
Static Public Attributes | |
static constexpr size_t | dim = 3 |
static constexpr Options::String | help |
Friends | |
bool | operator== (const SphericalTorus &lhs, const SphericalTorus &rhs) |
Torus made by removing two polar cones from a spherical shell.
Maps source coordinates
where
|
staticconstexpr |