getScalars
Description
The properties of the metric can be explored by comparing geometric properties such as the expansion, shear, and vorticity scalars. Each of these scalars is built from the metric tensor and evaluated at each point in spacetime using projections of the metric on a timelike vector field.
Method
The finite difference methods are used to compute the covariant derivatives for the metric scalars. The 3+1 function is also used to define the observer vector field.
Syntax
[
expansionScalar
,
shearScalar
,
vorticityScalar
] = getScalars(
metric
)
Input Arguments
Metric
struct
object
Input metric tensor.
Output Arguments
expansionScalar
4x4 array
double
Returned expansion scalar at all spacetime points.
shearScalar
4x4 array
double
Returned shear scalar at all spacetime points.
vorticityScalar
4x4 array
double
Returned vorticity scalar at all spacetime points.
Last updated