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.
CorrectionLimitingMethod(const dictionary &dict)
Construct from components.
Correction limiting method based on the relative particle velocity.
virtual ~relative()
Destructor.
relative(const dictionary &dict)
Construct from components.
scalar e_
Coefficient of restitution.
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)