Builds the metric tensor components for a flat Minkowski space.
Generates the 4D array of values for flat space in a 4x4 cell.
[metric] = setMinkowski(gridSize)
[
metric
] = setMinkowski(
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]
4x4 cell of 4D arrays
double
Returns the metric tensor components.
Last updated 2 years ago