40#ifndef faceAreaWeightModel_H
41#define faceAreaWeightModel_H
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
dictionary()
Default construct, a top-level empty dictionary.
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.
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.