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 absolute particle velocity.
virtual vector limitedVelocity(const vector uP, const vector dU, const vector uMean) const
Return the limited velocity.
virtual ~absolute()
Destructor.
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.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Scalar minMod(const Scalar s1, const Scalar s2)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)