SpECTRE
v2025.03.17
|
Alfven wave propagating along
#include <AlfvenWave.hpp>
Classes | |
struct | WaveSpeed |
The wave speed. More... | |
Public Types | |
using | options = implementation defined |
Public Member Functions | |
AlfvenWave (const AlfvenWave &)=default | |
AlfvenWave & | operator= (const AlfvenWave &)=default |
AlfvenWave (AlfvenWave &&)=default | |
AlfvenWave & | operator= (AlfvenWave &&)=default |
AlfvenWave (double wave_speed, const Options::Context &context={}) | |
auto | get_clone () const -> std::unique_ptr< evolution::initial_data::InitialData > override |
void | pup (PUP::er &p) override |
template<typename... Tags> | |
tuples::TaggedTuple< Tags... > | variables (const tnsr::I< DataVector, 3 > &x, const double t, tmpl::list< Tags... >) const |
Retrieve a collection of EM variables at (x, t) | |
template<typename Tag > | |
tuples::TaggedTuple< Tag > | variables (const tnsr::I< DataVector, 3 > &x, double t, tmpl::list< Tag >) const |
Retrieve the metric variables. | |
virtual auto | get_clone () const -> std::unique_ptr< InitialData >=0 |
Static Public Attributes | |
static constexpr Options::String | help |
Friends | |
bool | operator== (const AlfvenWave &lhs, const AlfvenWave &rhs) |
auto | variables (const tnsr::I< DataVector, 3 > &x, double t, tmpl::list< Tags::TildeE >) const -> tuples::TaggedTuple< Tags::TildeE > |
Retrieve the EM variables at (x,t). | |
auto | variables (const tnsr::I< DataVector, 3 > &x, double t, tmpl::list< Tags::TildeB >) const -> tuples::TaggedTuple< Tags::TildeB > |
Retrieve the EM variables at (x,t). | |
auto | variables (const tnsr::I< DataVector, 3 > &x, double t, tmpl::list< Tags::TildeQ >) const -> tuples::TaggedTuple< Tags::TildeQ > |
Retrieve the EM variables at (x,t). | |
static auto | variables (const tnsr::I< DataVector, 3 > &x, double t, tmpl::list< Tags::TildePsi >) -> tuples::TaggedTuple< Tags::TildePsi > |
Retrieve the EM variables at (x,t). | |
static auto | variables (const tnsr::I< DataVector, 3 > &x, double t, tmpl::list< Tags::TildePhi >) -> tuples::TaggedTuple< Tags::TildePhi > |
Retrieve the EM variables at (x,t). | |
Alfven wave propagating along
This test problem was introduced in [114] with
In the wave frame (with prime superscript), the stationary solution is given by
and
Applying the Lorentz transformation, electromagnetic fields and 4-current in the grid frame at
and
The wave speed can be chosen any value
|
overridevirtual |
Implements evolution::initial_data::InitialData.
|
staticconstexpr |