aurel.coresymbolic

Symbolic version of AurelCore, using sympy for symbolic calculations.

This class is designed in a similar manner to the AurelCore class, but it takes in different inputs, has no cache management, and there are much fewer quantities available.

symbolic_descriptions

Assumed quantities

If not defined, vacuum Minkowski is assumed for the definition of the following quantities:

gdown: Metric tensor in the down index form. I assume Minkowski, if not then please define AurelCoreSymbolic.data[‘gdown’] = …

Callable quantities

gup: Metric tensor in the up index form

gdet: Determinant of the metric tensor

Gamma_udd: Christoffel symbols in the up-down-down index form

Gamma_down: Christoffel symbols in the down index form

Riemann_down: Riemann curvature tensor in the down index form

Riemann_uddd: Riemann curvature tensor in the up-down-down-down index form

Ricci_down: Ricci curvature tensor in the down index form

RicciS: Ricci scalar

Einstein_down: Einstein tensor in the down index form

AurelCoreSymbolic Methods

class aurel.coresymbolic.AurelCoreSymbolic(coords, verbose=True, simplify=True)[source]

Bases: object

Symbolic version of AurelCore, using sympy for symbolic calculations.

Parameters:
  • coords (list of sympy symbols) – List of coordinates.

  • verbose (bool, optional) – If True, print the calculation description. Default is True.

  • simplify (bool, optional) – If True, simplify the expressions after calculation. Default is True.

dim

(int) - Dimension of the metric tensor.

Type:

int

data

(dict) - Dictionary to store calculated quantities.

Type:

dict