33namespace CorrectionLimitingMethods
51 e_(
dict.get<scalar>(
"e"))
77 const vector uRelative = uP - uMean;
82 - (1.0 + this->e_)*uRelative
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Base class for correction limiting methods.
Correction limiting method based on the relative particle velocity.
virtual ~relative()
Destructor.
virtual vector limitedVelocity(const vector uP, const vector dU, const vector uMean) const
Return the limited velocity.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Scalar minMod(const Scalar s1, const Scalar s2)