metricGet_Minkowski
Last updated
Creates a Minkowski spacetime in Cartesian coordinates.
The metric is constructed using the standard signature of (-,+,+,+).
[metric] = metricGet_Minkowski(gridSize,gridScale)
blue are required inputs.
orange are optional inputs with native default values.
gridSize
1x4 array
integer
The size of the world specified as:
[t,x,y,z]
gridScale
1x4 array
double
Unit scaling factor of the grid dimensions defined relative to gridSize. This determines the resolution of the grid along each dimension. Specified as:
[tscale,xscale,yscale,zscale]
The default value is [1, 1, 1, 1].
metric
struct
object
Minkowski metric tensor object.
Last updated