![]() ![]() ![]() ![]() Next: Example Tensor Type Declarations Up: SymBase Previous: Driver Interaction Contents Tensor TypesCactus 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:
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 Last but not least, a tensor special can be defined for quantities that do not transform as tensor. The currently supported tensor specials are
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: Example Tensor Type Declarations Up: SymBase Previous: Driver Interaction Contents |