44 const T & phi_downwind,
45 const VectorValue<T> * grad_phi_upwind,
46 const VectorValue<T> * grad_phi_downwind,
51 const bool & )
const override final 53 mooseAssert(grad_phi_upwind,
"min-mod limiter requires a gradient");
57 if (grad_phi_downwind)
58 r_f = this->
rf_grad(grad_phi_upwind, grad_phi_downwind, dCD);
60 r_f =
Moose::FV::rF(phi_upwind, phi_downwind, *grad_phi_upwind, dCD);
66 bool constant() const override final {
return false; }
bool constant() const override final
Base class for defining slope limiters for finite volume or potentially reconstructed Discontinuous-G...
Scalar rF(const Scalar &phiC, const Scalar &phiD, const Vector &gradC, const RealVectorValue &dCD)
From Moukalled 12.30.
auto max(const L &left, const R &right)
This data structure is used to store geometric and variable related metadata about each cell face in ...
T limit(const T &phi_upwind, const T &phi_downwind, const VectorValue< T > *grad_phi_upwind, const VectorValue< T > *grad_phi_downwind, const RealVectorValue &dCD, const Real &, const Real &, const FaceInfo *, const bool &) const override final
This method overrides the pure virtual limit method in the base Limiter class.
InterpMethod interpMethod() const override final
The Min-Mod limiter function $(r_f)$ is defined as:
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
InterpMethod
This codifies a set of available ways to interpolate with elem+neighbor solution information to calcu...
auto min(const L &left, const R &right)
T rf_grad(const VectorValue< T > *grad_phi_upwind, const VectorValue< T > *grad_phi_downwind, const RealVectorValue &dCD) const