148 real* numericalFlux)
const override;
161 std::vector<std::vector<real>>& internalFlux)
const override;
178 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
Density diffusion flux for the MHD model.
Definition: density_diffusion_flux.h:74
real internal_flux(const real *q, const real *aux, const solverVariables_t *pSV, std::vector< std::vector< real > > &internalFlux) const override
Redefinition of the interal flux function.
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: density_diffusion_flux.h:128
DDiffType _ddiff_type
Density diffusion type.
Definition: density_diffusion_flux.h:182
~DensityDiffusionFlux() override
GradientMethod _gradient_method
Gradient method chosen for app.
Definition: density_diffusion_flux.h:181
real _cfl_diff
Diffusion CFL.
Definition: density_diffusion_flux.h:191
const std::vector< int > & getInputVariableIndexes(int flag) const override
Grab input variable indices.
Definition: density_diffusion_flux.h:108
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
Redefinition of the numerical flux function.
void setup(const WxCryptSet &wxc) override
Setup.
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Grab auxiliary variable indices.
Definition: density_diffusion_flux.h:118
real _ddiff_limit
Density diffusion coefficient limit for Nimrod method.
Definition: density_diffusion_flux.h:190
std::vector< int > _input_variables
Vector of MHD fluid variable indices.
Definition: density_diffusion_flux.h:185
DDiffType
Available density diffusion types.
Definition: density_diffusion_flux.h:98
@ BASIC
Definition: density_diffusion_flux.h:99
@ NIMROD
Definition: density_diffusion_flux.h:100
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
The numerical flux function using the LDG gradient method.
std::vector< int > _aux_variables
Vector of MHD fluid gradient variable indices.
Definition: density_diffusion_flux.h:187
GradientMethod
Available gradient methods.
Definition: density_diffusion_flux.h:90
@ LDG
Definition: density_diffusion_flux.h:91
real _ddiff
Density diffusion coefficient.
Definition: density_diffusion_flux.h:189
std::vector< std::vector< real > > _flux_tensor
Flux tensor is used to calculate left and right fluxes for numerical flux mutable because this will c...
Definition: density_diffusion_flux.h:198
list apps
Definition: shock_tube.py:33
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