SpECTRE
v2024.12.16
|
An HLL (Harten-Lax-van Leer) Riemann solver. More...
#include <Hll.hpp>
Public Types | |
using | options = implementation defined |
using | dg_package_field_tags = implementation defined |
using | dg_package_data_temporary_tags = implementation defined |
using | dg_package_data_volume_tags = implementation defined |
using | dg_boundary_terms_volume_tags = implementation defined |
Public Types inherited from Burgers::BoundaryCorrections::BoundaryCorrection | |
using | creatable_classes = implementation defined |
Public Member Functions | |
Hll (const Hll &)=default | |
Hll & | operator= (const Hll &)=default |
Hll (Hll &&)=default | |
Hll & | operator= (Hll &&)=default |
void | pup (PUP::er &p) override |
std::unique_ptr< BoundaryCorrection > | get_clone () const override |
Public Member Functions inherited from Burgers::BoundaryCorrections::BoundaryCorrection | |
BoundaryCorrection (const BoundaryCorrection &)=default | |
BoundaryCorrection & | operator= (const BoundaryCorrection &)=default |
BoundaryCorrection (BoundaryCorrection &&)=default | |
BoundaryCorrection & | operator= (BoundaryCorrection &&)=default |
BoundaryCorrection (CkMigrateMessage *msg) | |
virtual std::unique_ptr< BoundaryCorrection > | get_clone () const =0 |
Static Public Member Functions | |
static double | dg_package_data (gsl::not_null< Scalar< DataVector > * > packaged_u, gsl::not_null< Scalar< DataVector > * > packaged_normal_dot_flux, gsl::not_null< Scalar< DataVector > * > packaged_char_speed, const Scalar< DataVector > &u, const tnsr::I< DataVector, 1, Frame::Inertial > &flux_u, const tnsr::i< DataVector, 1, Frame::Inertial > &normal_covector, const std::optional< tnsr::I< DataVector, 1, Frame::Inertial > > &mesh_velocity, const std::optional< Scalar< DataVector > > &normal_dot_mesh_velocity) |
static void | dg_boundary_terms (gsl::not_null< Scalar< DataVector > * > boundary_correction_u, const Scalar< DataVector > &u_int, const Scalar< DataVector > &normal_dot_flux_u_int, const Scalar< DataVector > &abs_char_speed_int, const Scalar< DataVector > &u_ext, const Scalar< DataVector > &normal_dot_flux_u_ext, const Scalar< DataVector > &abs_char_speed_ext, dg::Formulation dg_formulation) |
Static Public Attributes | |
static constexpr Options::String | help |
An HLL (Harten-Lax-van Leer) Riemann solver.
Let
where "int" and "ext" stand for interior and exterior, and [44]
The positive sign in front of the
dg_boundary_terms
function returns
|
overridevirtual |
Implements Burgers::BoundaryCorrections::BoundaryCorrection.
|
staticconstexpr |