Builds and returns the 3+1 components for a flat Minkowski space.
Generates the lapse rate, shift vectors, and spatial terms for flat space.
[alpha,beta,gamma] = setMinkowskiThreePlusOne(gridSize)
[
alpha
,
beta
gamma
] = setMinkowskiThreePlusOne(
gridSize
)
blue are required inputs.
1x4 array
integer
Size of the world grid, given by the format of:
[t,x,y,z][t,x,y,z][t,x,y,z]
4D array
double
Returns the lapse rate.
1x3 cell of 4D arrays
Returns the shift vector components.
3x3 cell of 4D arrays
Returns the spatial components.
Last updated 2 years ago