SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
Xcts::Solutions::Schwarzschild Class Reference

Schwarzschild spacetime in general relativity. More...

#include <Schwarzschild.hpp>

Public Member Functions

 Schwarzschild (const Schwarzschild &)=default
Schwarzschildoperator= (const Schwarzschild &)=default
 Schwarzschild (Schwarzschild &&)=default
Schwarzschildoperator= (Schwarzschild &&)=default
template<typename DataType, typename... RequestedTags>
tuples::TaggedTuple< RequestedTags... > variables (const tnsr::I< DataType, 3, Frame::Inertial > &x, tmpl::list< RequestedTags... >) const
template<typename... RequestedTags>
tuples::TaggedTuple< RequestedTags... > variables (const tnsr::I< DataVector, 3, Frame::Inertial > &x, const Mesh< 3 > &mesh, const InverseJacobian< DataVector, 3, Frame::ElementLogical, Frame::Inertial > &inv_jacobian, tmpl::list< RequestedTags... >) const
void pup (PUP::er &p) override
Public Member Functions inherited from elliptic::analytic_data::AnalyticSolution
virtual std::unique_ptr< AnalyticSolutionget_clone () const =0

Detailed Description

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.


The documentation for this class was generated from the following file:
  • src/PointwiseFunctions/AnalyticSolutions/Xcts/Schwarzschild.hpp