metricGet_Alcubierre
Standard Alcubierre metric setup
Last updated
Standard Alcubierre metric setup
Last updated
Create the Alcubierre warp solution in a defined spacetime grid.
For more details on the Alcubierre metric, please read:
The metric is constructed using the parameters of the Alcubierre metric in the user-defined spacetime grid parameters.
The comoving version of this metric called metricGet_AlcubierreComoving
has the same inputs but requires that the gridSize
along t = 1 and will return the metric in the Galilean comoving frame.
[
metric
] = metricGet_Alcubierre(
gridSize
,
worldCenter
,
v
,
R
,
sigma
,
gridScale
)
[
metric
] = metricGet_AlcubierreComoving(
gridSize
,
worldCenter
,
v
,
R
,
sigma
,
gridScale
)
blue are required inputs.
orange are optional inputs with native default values.
Inputs | Format | Type | Description |
---|---|---|---|
Outputs | Format | Type | Description |
---|---|---|---|
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 as a 4-vector, specified as:
v
1x1 array
double
Speed of the warp drive, given as a factor of c.
R
1x1 array
double
Radius of the warp bubble.
sigma
1x1 array
double
Width parameter of the warp bubble.
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].
metric
struct
object
Alcubierre solution returned as the metric tensor object.