1#ifndef WXM_APPS_MHD_ARTIFICIAL_VISCOSITY_LIMITER_H
2#define WXM_APPS_MHD_ARTIFICIAL_VISCOSITY_LIMITER_H
90 real* numericalFlux)
const override;
102 std::vector<std::vector<real>>& internalFlux)
const override;
118 real* numericalFlux)
const;
134 real* numericalFlux)
const;
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
Class used implementing artificial viscosity limiter based on velocity divergence Adds a diffusion te...
Definition: artificial_viscosity_limiter.h:28
ArtificialViscosityLimiter()
Constructor.
real _coefficient
Definition: artificial_viscosity_limiter.h:138
std::vector< int > _aux_variables
Definition: artificial_viscosity_limiter.h:145
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: artificial_viscosity_limiter.h:65
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
Numerical flux redefinition from parent.
std::vector< int > _output_variables
Definition: artificial_viscosity_limiter.h:146
~ArtificialViscosityLimiter()
Destructor.
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Grab auxiliary variable indices.
Definition: artificial_viscosity_limiter.h:55
std::string _gradient_method
Definition: artificial_viscosity_limiter.h:140
real internal_flux(const real *q, const real *aux, const solverVariables_t *pSV, std::vector< std::vector< real > > &internalFlux) const override
Internal flux redefinition from parent.
real numerical_flux_ip(const real *q_l, const real *q_r, const real *aux_l, const real *aux_r, const solverVariables_t *pFV, real *numericalFlux) const
Numerical flux call as determined by interior penalty method.
real numerical_flux_ldg(const real *q_l, const real *q_r, const real *aux_l, const real *aux_r, const solverVariables_t *pFV, real *numericalFlux) const
Numerical flux call as determined by local discontinuous galerkin method.
std::vector< int > _input_variables
Definition: artificial_viscosity_limiter.h:144
std::string _diffusion_factor
Definition: artificial_viscosity_limiter.h:142
const std::vector< int > & getInputVariableIndexes(int flag) const override
Grab input variable indices.
Definition: artificial_viscosity_limiter.h:45
void setup(const WxCryptSet &wxc) override
Setup function.
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