metricGet_Minkowski
Last updated
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.
Inputs | Format | Type | Description |
---|---|---|---|
Outputs | Format | Type | Description |
---|---|---|---|
gridSize
1x4 array
integer
The size of the world specified as:
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:
The default value is [1, 1, 1, 1].
metric
struct
object
Minkowski metric tensor object.