SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
ScalarAdvection::Tags::LargestCharacteristicSpeedCompute< Dim > Struct Template Reference

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)

Detailed Description

template<size_t Dim>
struct ScalarAdvection::Tags::LargestCharacteristicSpeedCompute< Dim >

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.


The documentation for this struct was generated from the following file:
  • src/Evolution/Systems/ScalarAdvection/Characteristics.hpp