SpECTRE
v2024.04.12
|
Compute the largest characteristic speed of the GRFFE system with divergence cleaning. More...
#include <Characteristics.hpp>
Public Types | |
using | argument_tags = tmpl::list< gr::Tags::Lapse< DataVector >, gr::Tags::Shift< DataVector, 3 >, gr::Tags::SpatialMetric< DataVector, 3 > > |
using | return_type = double |
using | base = LargestCharacteristicSpeed |
Public Types inherited from ForceFree::Tags::LargestCharacteristicSpeed | |
using | type = double |
Static Public Member Functions | |
static void | function (gsl::not_null< double * > speed, const Scalar< DataVector > &lapse, const tnsr::I< DataVector, 3 > &shift, const tnsr::ii< DataVector, 3 > &spatial_metric) |
Compute the largest characteristic speed of the GRFFE system with divergence cleaning.
Wave speeds of the fast modes of the GRFFE system are the speed of light.
\begin{align*} \lambda_\pm = \beta^i\beta_i \pm \alpha \end{align*}
where \(\alpha\) is the lapse and \(\beta^i\) is the shift. Therefore the largest characteristic speed is \(\lambda_\text{max} = \sqrt{\beta_i\beta^i}+\alpha\).