SpECTRE
v2024.04.12
|
Compute the largest characteristic speed of the ScalarAdvection system. More...
#include <Characteristics.hpp>
Public Types | |
using | argument_tags = tmpl::list< Tags::VelocityField< Dim > > |
using | return_type = double |
using | base = LargestCharacteristicSpeed |
Public Types inherited from ScalarAdvection::Tags::LargestCharacteristicSpeed | |
using | type = double |
Static Public Member Functions | |
static void | function (const gsl::not_null< double * > speed, const tnsr::I< DataVector, Dim > &velocity_field) |
Compute the largest characteristic speed of the ScalarAdvection system.
\begin{align*} \lambda_\text{maxabs} = \sqrt{v^iv_i} \end{align*}
where \(v^i\) is the velocity field.