setMinkowski
Last updated
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)
blue are required inputs
gridSize
1x4 array
integer
Size of the world grid, given by the format of:
[t,x,y,z]
metric
4x4 cell of 4D arrays
double
Returns the metric tensor components.
Last updated