# 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

`[`<mark style="color:green;">`metric`</mark>`] = setMinkowski(`<mark style="color:blue;">`gridSize`</mark>`)`

### Input Arguments

{% hint style="info" %} <mark style="color:blue;">blue</mark> are required inputs
{% endhint %}

<table><thead><tr><th width="156">Inputs</th><th width="125">Format</th><th width="98">Type</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:blue;"><code>gridSize</code></mark></td><td>1x4 array</td><td>integer</td><td><p>Size of the world grid, given by the format of:</p><p></p><p><span class="math">[t,x,y,z]</span></p></td></tr></tbody></table>

### Output Arguments

<table><thead><tr><th width="144">Outputs</th><th width="144.33333333333331">Format</th><th width="86">Type</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:green;"><code>metric</code></mark></td><td>4x4 cell of 4D arrays</td><td>double</td><td>Returns the metric tensor components.</td></tr></tbody></table>
