metricGet_Lentz
Lentz warp solution implementation
Last updated
Lentz warp solution implementation
Last updated
Create a version of the Lentz warp solution in a defined spacetime grid.
For more details on the Lentz metric, please read:
The metric is constructed using a representation of the Lentz metric as described in the first publication. An internal function in the main metric constructor called getWarpFactorByRegion
is called which returns a map of the shift vector values as used in Figure 2 of https://arxiv.org/abs/2006.07125. This function scales the shape from the Lentz solution using the scale
parameter.
The comoving version of this metric called metricGet_LentzComoving
has the same inputs but requires that the gridSize
along t = 1 and will return the metric in the Galilean comoving frame.
[
metric
] = metricGet_Lentz(
gridSize
,
worldCenter
,
v
,
scale
,
gridScale
)
[
metric
] = metricGet_LentzComoving(
gridSize
,
worldCenter
,
v
,
scale
,
gridScale
)
blue are required inputs.
orange are optional inputs with native default values.
Inputs | Format | Type | Description |
---|---|---|---|
| 1x4 array | integer | The size of the world specified as:
|
| 1x4 array | double | The center of the world, which defines the center of the Lentz shape template as a 4-vector, specified as: |
| 1x1 array | double | Speed of the warp drive, given as a factor of c. |
| 1x1 array | double | Scaling parameter for the Lentz solution template. Default value is largest gridSize/7. |
| 1x4 double | double | Unit scaling factor of the grid dimensions defined relative to The default value is [1, 1, 1, 1]. |
Outputs | Format | Type | Description |
---|---|---|---|
| struct | object | Lentz solution returned as the metric tensor object. |