setMinkowski
Description
Builds the metric tensor components for a flat Minkowski space.
Method
Generates the 4D array of values for flat space in a 4x4 cell.
Syntax
[
metric
] = setMinkowski(
gridSize
)
Input Arguments
Inputs
Format
Type
Description
gridSize
1x4 array
integer
Size of the world grid, given by the format of:
Output Arguments
Outputs
Format
Type
Description
metric
4x4 cell of 4D arrays
double
Returns the metric tensor components.
Last updated