SpECTRE  v2025.03.17
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
ForceFree::Tags::LargestCharacteristicSpeedCompute Struct Reference

Compute the largest characteristic speed of the GRFFE system with divergence cleaning. More...

#include <Characteristics.hpp>

Public Types

using argument_tags = implementation defined
 
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)
 

Detailed Description

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.

λ±=βiβi±α

where α is the lapse and βi is the shift. Therefore the largest characteristic speed is λmax=βiβi+α.


The documentation for this struct was generated from the following file: