SpECTRE
v2024.04.12

Make a spinweighted type T
with spinweight Spin
. Mathematical operators are restricted to addition, subtraction, multiplication and division, with spinweights checked for validity.
More...
Make a spinweighted type T
with spinweight Spin
. Mathematical operators are restricted to addition, subtraction, multiplication and division, with spinweights checked for validity.
For a spinweighted object, we limit operations to those valid for a pair of spinweighted quantities  i.e. addition only makes sense when the two summands possess the same spin weight, and multiplication (or division) result in a summed (or subtracted) spin weight.