SpECTRE  v2024.05.11
ScalarTensor::Tags::ComputeLargestCharacteristicSpeed< Frame > Struct Template Reference

Computes the largest magnitude of the characteristic speeds. More...

#include <Characteristics.hpp>

Public Types

using argument_tags = tmpl::list<::gh::ConstraintDamping::Tags::ConstraintGamma1, gr::Tags::Lapse< DataVector >, gr::Tags::Shift< DataVector, Dim, Frame >, gr::Tags::SpatialMetric< DataVector, Dim, Frame >, CurvedScalarWave::Tags::ConstraintGamma1 >
 
using return_type = double
 
using base = LargestCharacteristicSpeed
 
- Public Types inherited from ScalarTensor::Tags::LargestCharacteristicSpeed
using type = double
 

Static Public Member Functions

static void function (const gsl::not_null< double * > speed, const Scalar< DataVector > &gamma_1, const Scalar< DataVector > &lapse, const tnsr::I< DataVector, Dim, Frame > &shift, const tnsr::ii< DataVector, Dim, Frame > &spatial_metric, const Scalar< DataVector > &gamma_1_scalar)
 

Static Public Attributes

static constexpr size_t Dim = 3_st
 

Detailed Description

template<typename Frame = Frame::Inertial>
struct ScalarTensor::Tags::ComputeLargestCharacteristicSpeed< Frame >

Computes the largest magnitude of the characteristic speeds.

Details

Compute the maximum of the largest characteristic speed of each component system, i.e. the largest speed between gh and CurvedScalarWave.


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