Go to the documentation of this file.
38 #ifndef relaxationModel_H
39 #define relaxationModel_H
virtual scalar relaxation()=0
Return the current relaxation coefficient.
static autoPtr< relaxationModel > New(const dictionary &relaxationDict, const Time &runTime)
Return a reference to the selected relaxationModel.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
const Time & runTime_
Reference to the conformalVoronoiMesh holding this cvControls object.
void operator=(const relaxationModel &)=delete
No copy assignment.
const dictionary & coeffDict() const
Const access to the coeffs dictionary.
relaxationModel(const relaxationModel &)=delete
No copy construct.
declareRunTimeSelectionTable(autoPtr, relaxationModel, dictionary,(const dictionary &relaxationDict, const Time &runTime),(relaxationDict, runTime))
TypeName("relaxationModel")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
dictionary coeffDict_
Method coeffs dictionary.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Macros to ease declaration of run-time selection tables.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
virtual ~relaxationModel()=default
Destructor.
Abstract base class for providing relaxation values to the cell motion controller.