metricGet_Minkowski

Description

Creates a Minkowski spacetime in Cartesian coordinates.

Method

The metric is constructed using the standard signature of (-,+,+,+).

Syntax

[metric] = metricGet_Minkowski(gridSize,gridScale)

Input Arguments

blue are required inputs.

orange are optional inputs with native default values.

Inputs
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].

Output Arguments

Outputs
Format
Type
Description

metric

struct

object

Minkowski metric tensor object.

Last updated