doFrameTransfer
Description
The stress-energy tensor when found by evaluating the metric is returned in the coordinate system aligned with the observers that defined the metric. The stress-energy tensor can be further transformed into different frames as it would be seen by different associated observers.
Currently, only an Eulerian Frame transformation is implemented in Warp Factory.
Method
Eulerian Frame Transformation
The Eulerian transformation assumes a tetrad form which is a lower triangular matrix and uses the symbolic form of a solution that solves for the transformation that returns a Minkowski metric at all points in the spacetime. The solution for the tetrad is then contracted with the tensor to perform the frame transformation. This setup assumes the spatial vectors by selecting that x is orthogonal to the coordinate y and z surface and the remaining spatial vectors are orthogonal to each other.
The Eulerian transformation requires that the metric signature is (-,+,+,+) at all points, otherwise it will return imaginary results.
Syntax
[
transformedEnergyTensor
] = doFrameTransfer(
metric
,
energyTensor
,
frame
,
tryGPU
)
Input Arguments
blue are required inputs.
orange are optional inputs with native default values.
Inputs | Format | Type | Description |
---|---|---|---|
| struct | object | Input metric tensor object. |
| struct | object | Input stress-energy tensor object. |
| 1x1 array | string | Selected frame to transform the metric to, currently only "Eulerian" input can be used. |
| 1x1 array | integer | Use the GPU for evaluations, input either 1 for true or 0 for false. The default value is 0. |
Output Arguments
Outputs | Format | Type | Description |
---|---|---|---|
| struct | object | Returns the new energy tensor as seen in the transformed frame. |
Last updated