next up previous contents
Next: Example Tensor Type Declarations Up: SymBase Previous: Driver Interaction   Contents

Tensor Types

Cactus supports declaring the tensor type of grid function groups. These tensor types define how the grid functions, which are supposed to be tensor components, transform under various transformations, such as reflections and rotations.

The tensor types are not declared directly; instead, a tensor type alias is declared. The following tensor type aliases are currently known and supported:

scalar:
a scalar $\rho$
u:
a vector $\beta^i$
d:
a covector $s_i$
dd_sym:
a symmetric rank two tensor $\gamma_{ij}$
(More tensor type aliases are likely to be defined in the future.)

In addition to the tensor type, one can also declare the tensor parity, tensor weight, and a tensor metric. The tensor parity (an integer) specifies the behaviour under reflections. Scalars and polar vectors have a parity $+1$, pseudo scalars and axial vectors have a parity $-1$. The tensor weight (a real number) specifies the behaviour under transformations that change the volume element. The tensor metric (a string) specifies what metric has to be used to raise or lower indices for that quantity.

Last but not least, a tensor special can be defined for quantities that do not transform as tensor. The currently supported tensor specials are

Gamma:
for the transformation behaviour of the $\Gamma^i$ variables of the BSSN formalism; it is $\Gamma^i := - \gamma^{jk} \Gamma^i_{jk}$ with $\Gamma^i_{jk} := \frac{1}{2} \gamma^{il} \left( \partial_k
\gamma_{lj} + \partial_j \gamma_{lk} - \partial_l \gamma_{jk}
\right)$
log:
for the transformation behaviour of the variable $\phi$ of the BSSN formalism; it is $\phi := \log \psi$ with $\psi^{12} := \det
\gamma_{ij}$.

By default, the basis with respect to which the tensor components are given is supposed to be the (local) coordinate system given by the grid, i.e., the coordinate directions are the ``natural'' directions of the grid. It is possible to specify a different basis by declaring a tensor basis, which is the name of a grid function group containing the coordinate system.



Subsections
next up previous contents
Next: Example Tensor Type Declarations Up: SymBase Previous: Driver Interaction   Contents