40#ifndef faceAreaWeightModel_H
41#define faceAreaWeightModel_H
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 faceAreaWeight values to the cell motion controller based on an arg...
dictionary coeffDict_
Method coeffs dictionary.
virtual scalar faceAreaWeight(scalar faceAreaFraction) const =0
Return the current faceAreaWeight coefficient.
void operator=(const faceAreaWeightModel &)=delete
No copy assignment.
TypeName("faceAreaWeightModel")
Runtime type information.
declareRunTimeSelectionTable(autoPtr, faceAreaWeightModel, dictionary,(const dictionary &faceAreaWeightDict),(faceAreaWeightDict))
faceAreaWeightModel(const word &type, const dictionary &faceAreaWeightDict)
Construct from components.
static autoPtr< faceAreaWeightModel > New(const dictionary &faceAreaWeightDict)
Return a reference to the selected faceAreaWeightModel.
virtual ~faceAreaWeightModel()=default
Destructor.
faceAreaWeightModel(const faceAreaWeightModel &)=delete
No copy construct.
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.