Go to the documentation of this file.
46 const dictionary& cellSizeCalculationTypeDict,
47 const triSurfaceMesh& surface,
48 const scalar& defaultCellSize
51 cellSizeCalculationTypeDict_(cellSizeCalculationTypeDict),
53 defaultCellSize_(defaultCellSize)
61 const dictionary&
dict,
62 const triSurfaceMesh& surface,
63 const scalar& defaultCellSize
66 const word modelType(
dict.
get<word>(
"cellSizeCalculationType"));
68 Info<<
indent <<
"Selecting cellSizeCalculationType " << modelType <<
endl;
70 auto* ctorPtr = dictionaryConstructorTable(modelType);
77 "cellSizeCalculationType",
79 *dictionaryConstructorTablePtr_
83 return autoPtr<cellSizeCalculationType>
85 ctorPtr(
dict, surface, defaultCellSize)
static autoPtr< cellSizeCalculationType > New(const dictionary &cellSizeCalculationTypeDict, const triSurfaceMesh &surface, const scalar &defaultCellSize)
Return a reference to the selected cellSizeCalculationType.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
cellSizeCalculationType(const cellSizeCalculationType &)=delete
No copy construct.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Macros for easy insertion into run-time selection tables.
Ostream & indent(Ostream &os)
Indent stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
defineTypeNameAndDebug(combustionModel, 0)