SpECTRE  v2026.06.30
Loading...
Searching...
No Matches
Spectral::Swsh::Tags::SwshTransform< Tag > Struct Template Reference

Prefix tag representing the spin-weighted spherical harmonic transform of a spin-weighted scalar. More...

#include <SwshTags.hpp>

Public Types

using type
using tag = Tag
using transform_of = Tag

Static Public Attributes

static const int spin = type::type::spin

Detailed Description

template<typename Tag>
struct Spectral::Swsh::Tags::SwshTransform< Tag >

Prefix tag representing the spin-weighted spherical harmonic transform of a spin-weighted scalar.

Template Parameters:

  • Tag: The tag to prefix.

Type aliases and static values:

  • type: Always a SpinWeighted<Scalar<ComplexModalVector>, Spin>, where Spin is the same spin weight of the pre-transformed Tag, and 0 if provided a Tag with a Type that is not SpinWeighted
  • tag: An alias to the wrapped tag Tag. Provided for applicability to general db::PrefixTag functionality
  • transform_of: Another alias to the wrapped tag Tag. Provided so that utilities that use this prefix for taking transforms can have a more expressive code style.

Member Typedef Documentation

◆ type

template<typename Tag>
using Spectral::Swsh::Tags::SwshTransform< Tag >::type
Initial value:
detail::adjust_spin_weight_t<Tag, NoDerivative>::type::spin>>
A class for storing complex spectral coefficients on a spectral grid.
Definition ComplexModalVector.hpp:43
Tensor< T, Symmetry<>, index_list<> > Scalar
Scalar type.
Definition TypeAliases.hpp:21
Make a spin-weighted type T with spin-weight Spin. Mathematical operators are restricted to addition,...
Definition SpinWeighted.hpp:26

The documentation for this struct was generated from the following file:
  • src/NumericalAlgorithms/SpinWeightedSphericalHarmonics/SwshTags.hpp