SpECTRE  2021.08.02
Xcts::Solutions::Schwarzschild< Registrars > Class Template Reference

Schwarzschild spacetime in general relativity. More...

#include <Schwarzschild.hpp>

Public Member Functions

 Schwarzschild (const Schwarzschild &) noexcept=default
 
Schwarzschildoperator= (const Schwarzschild &) noexcept=default
 
 Schwarzschild (Schwarzschild &&) noexcept=default
 
Schwarzschildoperator= (Schwarzschild &&) noexcept=default
 
template<typename DataType , typename... RequestedTags>
tuples::TaggedTuple< RequestedTags... > variables (const tnsr::I< DataType, 3, Frame::Inertial > &x, tmpl::list< RequestedTags... >) const noexcept
 
template<typename... RequestedTags>
tuples::TaggedTuple< RequestedTags... > variables (const tnsr::I< DataVector, 3, Frame::Inertial > &x, const Mesh< 3 > &mesh, const InverseJacobian< DataVector, 3, Frame::Logical, Frame::Inertial > &inv_jacobian, tmpl::list< RequestedTags... >) const noexcept
 
void pup (PUP::er &p) noexcept override
 
- Public Member Functions inherited from Xcts::Solutions::AnalyticSolution< tmpl::list< Solutions::Registrars::Schwarzschild > >
tuples::TaggedTuple< RequestedTags... > variables (const tnsr::I< DataType, 3, Frame::Inertial > &x, tmpl::list< RequestedTags... >) const noexcept
 
- Public Member Functions inherited from AnalyticData< Dim, Registrars >
template<typename DataType , typename... Tags>
tuples::TaggedTuple< Tags... > variables (const tnsr::I< DataType, Dim > &x, tmpl::list< Tags... >) const noexcept
 Retrieve a collection of tensor fields at spatial coordinate(s) x
 
template<typename... Tags>
tuples::TaggedTuple< Tags... > variables (const tnsr::I< DataVector, Dim > &x, const Mesh< Dim > &mesh, const InverseJacobian< DataVector, Dim, Frame::Logical, Frame::Inertial > &inv_jacobian, tmpl::list< Tags... >) const noexcept
 Retrieve a collection of tensor fields at spatial coordinate(s) x More...
 

Additional Inherited Members

- Public Types inherited from Xcts::Solutions::AnalyticSolution< tmpl::list< Solutions::Registrars::Schwarzschild > >
using registrars = tmpl::list< Solutions::Registrars::Schwarzschild >
 
using creatable_classes = Registration::registrants< registrars >
 
- Public Types inherited from AnalyticData< Dim, Registrars >
using registrars = Registrars
 
using creatable_classes = Registration::registrants< registrars >
 
- Static Public Attributes inherited from AnalyticData< Dim, Registrars >
static constexpr size_t volume_dim = Dim
 

Detailed Description

template<typename Registrars = tmpl::list<Solutions::Registrars::Schwarzschild>>
class Xcts::Solutions::Schwarzschild< Registrars >

Schwarzschild spacetime in general relativity.

This class implements the Schwarzschild solution with mass parameter \(M\) in various coordinate systems. See the entries of the Xcts::Solutions::SchwarzschildCoordinates enum for the available coordinate systems and for the solution variables in the respective coordinates.