threePlusOneBuilder
Constructing a metric tensor from its 3+1 components.
Last updated
Constructing a metric tensor from its 3+1 components.
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 is constructed from the 3+1 terms as defined in the spacetime grid.
[
Metric
] = threePlusOneBuilder(
alpha
,
beta
,
gamma
)
blue are required inputs.
Inputs | Format | Type | Description |
---|---|---|---|
Outputs | 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.
Metric
4x4 cell of 4D arrays
double
Returns the standard metric tensor constructed from the 3+1 components.