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