threePlusOneBuilder

Constructing a metric tensor from its 3+1 components.

Description

The solver in Warp Factory requires the metric tensor defined in the standard way, but constructing the spacetime in terms of its 3+1 foliation terms is often helpful. The builder function takes in the 3+1 components and constructs the metric for use in evaluating the stress-energy tensor and metric scalars.

Metric in 3+1

In this section, we will use Latin indices as summing from 1 to 3 and Greek indices as summing from 0 to 3. The spatial components of the metric map directly to the spatial terms γ\gamma:

gij=γij ,  gij=γijg_{ij} = \gamma_{ij} \ , \ \ g^{ij} = \gamma^{ij}

The shift vector maps directly to the time-space cross terms of the metric:

g0i=gi0=βig_{0i} = g_{i0} = \beta_i

The lapse rate α\alpha and shift vector β\beta determine the time component of the metric:

g00=α2+βiβig_{00} = -\alpha^2 + \beta^i \beta_i

where βi=γijβi\beta^i = \gamma^{ij}\beta_i

For more general background on 3+1 formalism please read:

Method

The metric is constructed from the 3+1 terms as defined in the spacetime grid.

Syntax

[Metric] = threePlusOneBuilder(alpha, beta, gamma)

Input Arguments

blue are required inputs.

Inputs
Format
Type
Description

alpha

4D array

double

Lapse rate.

beta

1x3 cell of 4D arrays

double

Shift vector.

gamma

3x3 cell of 4D arrays

double

Spatial terms.

Output Arguments

Outputs
Format
Type
Description

Metric

4x4 cell of 4D arrays

double

Returns the standard metric tensor constructed from the 3+1 components.

Last updated