SpinWeighted< T, Spin, is_vector > Struct Template Reference

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...

`#include <SpinWeighted.hpp>`

struct SpinWeighted< T, Spin, is_vector >

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.

The documentation for this struct was generated from the following file:

- src/DataStructures/SpinWeighted.hpp

© Copyright 2017 - 2020 SXS Collaboration, Distributed under the MIT License