Codebase Structure
Description of the general organization and core functions within Warp Factory
Last updated
Description of the general organization and core functions within Warp Factory
Last updated
Warp Factory is a package of functions written in MATLAB. It is organized around several modules containing functions that can be called to build and evaluate metrics. Each of these modules will be described here at a high level.
The provides functions for uses to build spacetimes. The following functions are currently provided:
Generates a flat spacetime as a 4x4 cell object.
Generates the 3+1 components for flat spacetime..
Generates the standard metric tensor from the 3+1 components.
Generates the 3+1 components from a standard metric tensor.
In addition, a standard is provided which contains some of the standard and famous warp metrics found over the last few decades. These include:
Generic flat spacetime.
The Alcubierre solution. Includes comoving frame.
The Lentz soliton solution. Includes comoving frame.
The Van Den Broeck modification to Alcubierre. Includes comoving frame.
Bobrick and Martire modified time version of the Alcubierre metric. Includes comoving frame.
Standard black hole solution.
Supporting these main functions are several auxiliary functions that can be found within the utils folder in Metrics > utils
.
The evaluates the field equation to find the stress-energy tensor. The following functions are currently provided:
The has several functions which aid users in displaying the tensors and analysis products. This currently includes the following:
Supporting these main functions are several auxiliary functions that can be found within the utils folder in Visualizer > utils
. described in
The contains a list of reserved function names that act as unit specifications for use in Warp Factory.