SpECTRE  v2025.03.17
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Xcts::Solutions Namespace Reference

Analytic solutions of the XCTS equations. More...

Classes

struct  CommonVariables
 Implementations for variables that solutions can share. More...
 
class  ConstantDensityStar
 A constant density star in general relativity. More...
 
class  Flatness
 Flat spacetime in general relativity. Useful as initial guess. More...
 
class  Schwarzschild
 Schwarzschild spacetime in general relativity. More...
 
class  TovStar
 TOV solution to the XCTS equations. More...
 
class  WrappedGr
 XCTS quantities for a solution of the Einstein equations. More...
 

Typedefs

template<typename DataType >
using common_tags = implementation defined
 Tags for variables that solutions can share.
 
template<typename DataType >
using hydro_tags = AnalyticData::hydro_tags< DataType >
 Tags for hydro variables that are typically retrieved from a hydro solution.
 
using all_analytic_solutions = implementation defined
 
template<typename GrMhdSolution >
using WrappedGrMhd = WrappedGr< GrMhdSolution, true >
 

Enumerations

enum class  SchwarzschildCoordinates { Isotropic , PainleveGullstrand , KerrSchildIsotropic , MaximalIsotropic }
 Various coordinate systems in which to express the Schwarzschild solution. More...
 

Functions

bool operator== (const ConstantDensityStar &, const ConstantDensityStar &)
 
bool operator!= (const ConstantDensityStar &lhs, const ConstantDensityStar &rhs)
 
bool operator== (const Flatness &, const Flatness &)
 
bool operator!= (const Flatness &lhs, const Flatness &rhs)
 
std::ostreamoperator<< (std::ostream &os, SchwarzschildCoordinates coords)
 
bool operator!= (const TovStar &lhs, const TovStar &rhs)
 
template<typename GrSolution , bool HasMhd>
bool operator!= (const WrappedGr< GrSolution, HasMhd > &lhs, const WrappedGr< GrSolution, HasMhd > &rhs)
 

Detailed Description

Analytic solutions of the XCTS equations.

Enumeration Type Documentation

◆ SchwarzschildCoordinates

Various coordinate systems in which to express the Schwarzschild solution.

Enumerator
Isotropic 

Isotropic Schwarzschild coordinates.

These arise from the canonical Schwarzschild coordinates by the radial transformation

(1)r=r¯(1+M2r¯)2

(Eq. (1.61) in [14]) where r is the canonical Schwarzschild radius, also referred to as "areal" radius because it is defined such that spheres with constant r have the area 4πr2, and r¯ is the "isotropic" radius. In the isotropic radius the Schwarzschild spatial metric is conformally flat:

(2)γij=ψ4ηijwith conformal factorψ=1+M2r¯

(Table 2.1 in [14]). The lapse in the conformal radius is

(3)α=1M/(2r¯)1+M/(2r¯)

and the shift vanishes ( βi=0) as it does in areal Schwarzschild coordinates. The solution also remains maximally sliced, i.e. K=0.

The Schwarzschild horizon in these coordinates is at r¯=M2 due to the radial transformation from r=2M.

PainleveGullstrand 

Painlevé-Gullstrand coordinates.

In these coordinates the spatial metric is flat and the lapse is trivial, but contrary to (isotropic) Schwarzschild coordinates the shift is nontrivial,

(4)γij=ηij(5)α=1(6)βi=2Mrxir(7)K=322Mr3

(Table 2.1 in [14]).

KerrSchildIsotropic 

Isotropic Kerr-Schild coordinates.

Kerr-Schild coordinates with a radial transformation such that the spatial metric is conformally flat.

The Schwarzschild spacetime in canonical (areal) Kerr-Schild coordinates is

(8)γij=ηij+2Mrxixjr2(9)α=1+2Mr1(10)βi=2Mα2rxir(11)K=2Mα3r2(1+3Mr).

(Table 2.1 in [14]). Since the Schwarzschild spacetime is spherically symmetric we can transform to a radial coordinate r¯ in which it is conformally flat (see, e.g., Sec. 7.4.1 in [164] for details):

(12)(3)ds2=(1+2Mr)dr2+r2dΩ2=ψ4(dr¯2+r¯2dΩ2)

Therefore, the conformal factor is ψ2=r/r¯ and

(13)dr¯dr=r¯r1+2Mr=r¯r1α,

which has the solution

(14)r¯=r4(1+1+2Mr)2e221+2M/r

when we impose r¯r as r. We can invert this transformation law with a numerical root find to obtain the areal radius r for any isotropic radius r¯.

In the isotropic radial coordinate r¯ the solution is then:

(15)γij=ψ4ηij(16)ψ=rr¯=2e1+2M/r11+1+2M/r(17)α=1+2Mr1(18)βi=dr¯drβrxir¯=2Mαr2xi(19)K=2Mα3r2(1+3Mr)

Here, xi are the (isotropic) Cartesian coordinates from which we compute the isotropic radius r¯, r is the areal radius we can obtain from the isotropic radius by a root find, and βr is the magnitude of the shift in areal coordinates, as given above.

The horizon in these coordinates is at (Eq. (7.37) in [164]):

(20)r¯AH/M1.2727410334221052

MaximalIsotropic 

Maximal Isotropic (Horizon Penetrating) Schwarzschild coordinates.

Schwarzschild coordinates with a radial transformation such that the radius is isotropic and the coordinates are horizon penetrating.

These arise from first choosing a family of time-independent, maximal slicings of the Schwarzschild spacetime and a slicing condition that give a unique solution with a limiting surface at R=3M/2 and horizon at R=2M [65]. The latter is then changed by the radial transformation [13]

(21)r=[2R+M+4R2+4MR+3M2]4×[(4+32)(2R3M)8R+6M+38R2+8MR+6M2]1/2

where R is the canonical Schwarzschild radius, also referred to as "areal" radius because it is defined such that spheres with constant R have the area 4πR2, and r is the "isotropic" radius. In the isotropic radius the Schwarzschild spatial metric is conformally flat:

(22)γij=ψ4ηijwith conformal factorψ=Rr.

The lapse in the conformal radius is

(23)α=(12MR+27M416R4)1/2

and the shift is given by

(24)βr=33M24rR3

The solution remains maximally sliced, i.e. K=0. And the horizon in these coordinates is at r0.7793271080557972M due to the radial transformation from R=2M.