metricGet_Alcubierre
Standard Alcubierre metric setup
Description
Create the Alcubierre warp solution in a defined spacetime grid.
For more details on the Alcubierre metric, please read:
Method
The metric is constructed using the parameters of the Alcubierre metric in the user-defined spacetime grid parameters.
Syntax
[
metric
] = metricGet_Alcubierre(
gridSize
,
worldCenter
,
v
,
R
,
sigma
,
gridScale
)
[
metric
] = metricGet_AlcubierreComoving(
gridSize
,
worldCenter
,
v
,
R
,
sigma
,
gridScale
)
Input Arguments
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].
Output Arguments
metric
struct
object
Alcubierre solution returned as the metric tensor object.
Last updated