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:
[
metric
] = metricGet_Lentz(
gridSize
,
worldCenter
,
v
,
scale
,
gridScale
)
[
metric
] = metricGet_LentzComoving(
gridSize
,
worldCenter
,
v
,
scale
,
gridScale
)
gridSize
1x4 array
integer
The size of the world specified as:
worldCenter
1x4 array
double
The center of the world, which defines the center of the Lentz shape template as a 4-vector, specified as:
v
1x1 array
double
Speed of the warp drive, given as a factor of c.
scale
1x1 array
double
Scaling parameter for the Lentz solution template. Default value is largest gridSize/7.
gridScale
1x4 double
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].
metric
struct
object
Lentz solution returned as the metric tensor object.
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 . This function scales the shape from the Lentz solution using the scale
parameter.