threePlusOneDecomposer
Finds the 3+1 foliation components from a metric tensor.
Last updated
Finds the 3+1 foliation components from a metric tensor.
Last updated
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.
For more general background on 3+1 formalism please read:
The metric terms are used to find the 3+1 terms and return them in the spacetime grid.
[
alpha
,
betaDown
,
gammaDown
,
betaUp
,
gammaUp
] = threePlusOneDecomposer(
metric
)
blue are required inputs.
Inputs | Format | Type | Description |
---|---|---|---|
Outputs | Format | Type | Description |
---|---|---|---|
metric
struct
object
Metric tensor object.
alpha
4D array
double
lapse function across the spacetime grid.
betaDown
1x3 cell of 4D arrays
double
covariant shift function across the spacetime grid.
gammaDown
3x3 cell of 4D arrays
double
covariant spatial function across the spacetime grid.
gammaUp
3x3 cell of 4D arrays
double
contravariant spatial function across the spacetime grid.
betaUp
1x3 cell of 4D arrays
double
contravariant shift function across the spacetime grid.