setMinkowskiThreePlusOne
Description
Builds and returns the 3+1 components for a flat Minkowski space.
Method
Generates the lapse rate, shift vectors, and spatial terms for flat space.
Syntax
[
alpha
,
beta
,
gamma
] = setMinkowskiThreePlusOne(
gridSize
)
Input Arguments
blue are required inputs.
Inputs
Format
Type
Description
gridSize
1x4 array
integer
Size of the world grid, given by the format of:
Output Arguments
Outputs
Format
Type
Description
alpha
4D array
double
Returns the lapse rate.
beta
1x3 cell of 4D arrays
double
Returns the shift vector components.
gamma
3x3 cell of 4D arrays
double
Returns the spatial components.
Last updated