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
blue are required inputs
Inputs | Format | Type | Description |
---|---|---|---|
| 1x4 array | integer | Size of the world grid, given by the format of: |
Output Arguments
Outputs | Format | Type | Description |
---|---|---|---|
| 4x4 cell of 4D arrays | double | Returns the metric tensor components. |
Last updated