12namespace divergence_cleaning
65 std::vector<std::vector<real>>& internalFlux)
const override;
72 real* numericalFlux)
const override;
Base Class for physics applications.
Definition: wmapplication.h:93
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Implements the mixed Generalized-Lagrange Multiplier version of divergence cleaning in: Dedner et al....
Definition: mixed_glm.h:45
real _min_pressure_floor
Definition: mixed_glm.h:96
~DednerMixedGLM() override
real _ch_factor
Multiplier on max mhd wave speed (fast magnetosonic speed, cf), to calculate ch = cf * _ch_factor .
Definition: mixed_glm.h:85
real _min_density_floor
Definition: mixed_glm.h:95
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: mixed_glm.h:57
bool _use_psi_source
Definition: mixed_glm.h:98
real internal_flux(const real *q, const real *aux, const solverVariables_t *pSV, std::vector< std::vector< real > > &internalFlux) const override
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: mixed_glm.h:53
std::vector< int > _input_variable_idcs
Definition: mixed_glm.h:82
real numerical_flux(const real *q_l, const real *q_r, const real *aux_l, const real *aux_r, const solverVariables_t *pFV, real *numericalFlux) const override
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
void setup(const WxCryptSet &wxc) override
real _gas_gamma
Definition: mixed_glm.h:80
real _cr
Factor for calculating cp = sqrt(cr * ch) , which constributes to the strength of the source term add...
Definition: mixed_glm.h:90
std::vector< int > _output_variable_idcs
Definition: mixed_glm.h:83
list apps
Definition: shock_tube.py:33
warpy mhd
Definition: mhd_shock.py:32
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
Definition: wmapplication.h:38
#define real
Definition: wmoclunstructuredreconstruction.h:11