SpECTRE
v2025.03.17
|
Gauge wave in flat spacetime. More...
#include <GaugeWave.hpp>
Classes | |
struct | Amplitude |
struct | Wavelength |
Public Types | |
using | options = implementation defined |
template<typename DataType > | |
using | DerivLapse = ::Tags::deriv< gr::Tags::Lapse< DataType >, tmpl::size_t< volume_dim >, Frame::Inertial > |
template<typename DataType > | |
using | DerivShift = ::Tags::deriv< gr::Tags::Shift< DataType, volume_dim >, tmpl::size_t< volume_dim >, Frame::Inertial > |
template<typename DataType > | |
using | DerivSpatialMetric = ::Tags::deriv< gr::Tags::SpatialMetric< DataType, volume_dim >, tmpl::size_t< volume_dim >, Frame::Inertial > |
template<typename DataType > | |
using | tags = implementation defined |
![]() | |
template<typename DataType , typename Frame = ::Frame::Inertial> | |
using | DerivLapse = ::Tags::deriv< gr::Tags::Lapse< DataType >, tmpl::size_t< volume_dim >, Frame > |
template<typename DataType , typename Frame = ::Frame::Inertial> | |
using | DerivShift = ::Tags::deriv< gr::Tags::Shift< DataType, volume_dim, Frame >, tmpl::size_t< volume_dim >, Frame > |
template<typename DataType , typename Frame = ::Frame::Inertial> | |
using | DerivSpatialMetric = ::Tags::deriv< gr::Tags::SpatialMetric< DataType, volume_dim, Frame >, tmpl::size_t< volume_dim >, Frame > |
template<typename DataType , typename Frame = ::Frame::Inertial> | |
using | tags = implementation defined |
Public Member Functions | |
GaugeWave (double amplitude, double wavelength, const Options::Context &context={}) | |
GaugeWave (const GaugeWave &)=default | |
GaugeWave & | operator= (const GaugeWave &)=default |
GaugeWave (GaugeWave &&)=default | |
GaugeWave & | operator= (GaugeWave &&)=default |
GaugeWave (CkMigrateMessage *) | |
template<typename DataType , typename... Tags> | |
tuples::TaggedTuple< Tags... > | variables (const tnsr::I< DataType, volume_dim, Frame::Inertial > &x, double t, tmpl::list< Tags... >) const |
template<typename DataType , typename... Tags> | |
tuples::TaggedTuple< Tags... > | variables (const tnsr::I< DataType, volume_dim, Frame::Inertial > &x, double t, const IntermediateVars< DataType > &vars, tmpl::list< Tags... >) const |
void | pup (PUP::er &p) |
double | amplitude () const |
double | wavelength () const |
Static Public Attributes | |
static constexpr size_t | volume_dim = Dim |
static constexpr Options::String | help {"Gauge wave in flat spacetime"} |
![]() | |
static constexpr size_t | volume_dim = Dim |
Gauge wave in flat spacetime.
This solution is Minkowski space in coordinates chosen to contain a gauge wave. The spacetime metric is given by Eq. (4.3) of [2] :
where
The gauge wave has amplitude
In these coordinates, the spatial metric
The components of the derivatives of
The square root of the spatial metric determinant is
The lapse and its derivatives are
The shift
The extrinsic curvature's components vanish, except for
The following are input file options that can be specified: