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,
"Van Leer limiter requires the upwind 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; }
MetaPhysicL::DualNumber< V, D, asd > abs(const MetaPhysicL::DualNumber< V, D, asd > &a)
Base class for defining slope limiters for finite volume or potentially reconstructed Discontinuous-G...
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.
Scalar rF(const Scalar &phiC, const Scalar &phiD, const Vector &gradC, const RealVectorValue &dCD)
From Moukalled 12.30.
InterpMethod interpMethod() const override final
The Van Leer limiter limiter function $(r_f)$ is defined as:
This data structure is used to store geometric and variable related metadata about each cell face in ...
bool constant() const override final
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...
T rf_grad(const VectorValue< T > *grad_phi_upwind, const VectorValue< T > *grad_phi_downwind, const RealVectorValue &dCD) const