getEnergyConditions
Description
The energy conditions are evaluated point-wise for all spacetime gridpoints of the stress-energy tensor. The function only evaluates the Null Energy Condition (NEC), Weak Energy Condition (WEC), Strong Energy Condition (SEC), and Dominant Energy Condition (DEC).
For more general background on the energy conditions, please read:
Method
The evaluation of the point-wise energy conditions samples a set of observer vector fields. The null vector is defined within a Cartesian locally-Minkowskian space. The direction of the spatial velocity is sampled from a set of vectors that map to evenly distributed points on a sphere, which, in a spherical coordinate representation, result in the set of four-velocities that map to different observers. The resulting vectors for each observer are then normalized. For timelike vectors, the four-velocity is defined in the same manner but is additionally scaled from 0 to 1 for a specified number of timelike samples for each of the spatial velocity direction samples. All vectors are then normalized.
Syntax
[
map
,
vec
,
vectorFieldOut
] = getEnergyConditions(
energyTensor
,
metric
,
condition
,
numAngularVec
,
numTimeVec
,
returnVec
,
tryGPU
)
Input Arguments
blue are required inputs.
orange are optional inputs with native default values.
Inputs | Format | Type | Description |
---|---|---|---|
| struct | object | Input stress-energy tensor to determine energy conditions. |
| struct | object | Input metric which determined the stress-energy tensor. |
| 1x1 array | string | The selected energy condition. Can be either "Null", "Weak", "Strong", or "Dominant". |
| 1x1 array | integer | The set number of even-spaced angular samples of four-velocity orientations. This sets the number of directions to sample. |
| 1x1 array | integer | The set number of time samples. This evenly reduces the magnitude of the four-velocity spatial part in the given sample number. The default value is 10. |
| 1x1 array | integer | Return the vectors and each of their respective energy condition evaluation results. The default value is 0. |
| 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 |
---|---|---|---|
| 4D array | double | Returned energy condition at each spacetime grid point. The array format is specified as: where is the spacetime dimension. |
| 6D array | double | The energy condition evaluation for each of the sampled vectors at each spacetime grid point. The array format is specified as:
where is the spacetime dimensions, is the angular samples, and is the time samples. This is only returned if |
| 3D or 4D array | double | The set of observer 4-vectors that are used to sample the energy conditions at each point in spacetime. If the energy condition requires a null vector field then the return is a 3D array specified as: where is the observer four-velocity (length of 4) and is the length of the angular samples. If the energy condition requires a timelike vector field, then the return is a 4D array specified as: where is the length of the time samples. This is only returned if |
Last updated