SpECTRE
v2024.12.16
|
Analytic initial data for a pure spherical harmonic in three dimensions. More...
#include <PureSphericalHarmonic.hpp>
Classes | |
struct | Mode |
struct | Radius |
struct | Width |
Public Types | |
using | options = implementation defined |
using | tags = implementation defined |
Public Member Functions | |
PureSphericalHarmonic (double radius, double width, std::pair< size_t, int > mode, const Options::Context &context={}) | |
tuples::TaggedTuple< CurvedScalarWave::Tags::Psi, CurvedScalarWave::Tags::Pi, CurvedScalarWave::Tags::Phi< 3 > > | variables (const tnsr::I< DataVector, 3 > &x, tags) const |
Retrieve the evolution variables at spatial coordinates x | |
void | pup (PUP::er &) |
Static Public Attributes | |
static constexpr Options::String | help |
static constexpr size_t | volume_dim = 3 |
Friends | |
bool | operator== (const PureSphericalHarmonic &lhs, const PureSphericalHarmonic &rhs) |
bool | operator!= (const PureSphericalHarmonic &lhs, const PureSphericalHarmonic &rhs) |
Analytic initial data for a pure spherical harmonic in three dimensions.
The initial data is taken from [172] , Eqs. 4.1–4.3, and sets the evolved variables of the scalar wave as follows:
where
When evolved, the scalar field
|
staticconstexpr |