SpECTRE
v2024.09.29
|
Make a spin-weighted type T
with spin-weight Spin
. Mathematical operators are restricted to addition, subtraction, multiplication and division, with spin-weights checked for validity.
More...
Make a spin-weighted type T
with spin-weight Spin
. Mathematical operators are restricted to addition, subtraction, multiplication and division, with spin-weights checked for validity.
For a spin-weighted object, we limit operations to those valid for a pair of spin-weighted 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.