43 Foam::cellSizeAndAlignmentControl::cellSizeAndAlignmentControl
47 const dictionary&
dict,
48 const conformationSurfaces& geometryToConformTo,
49 const scalar& defaultCellSize
53 defaultCellSize_(defaultCellSize),
54 forceInitialPointInsertion_
56 dict.getOrDefault<Switch>
58 "forceInitialPointInsertion",
73 const dictionary&
dict,
74 const conformationSurfaces& geometryToConformTo,
75 const scalar& defaultCellSize
78 const word modelType(
dict.
get<word>(
"type"));
80 Info<<
indent <<
"Selecting cellSizeAndAlignmentControl " 83 auto* ctorPtr = dictionaryConstructorTable(modelType);
90 "cellSizeAndAlignmentControl",
92 *dictionaryConstructorTablePtr_
96 return autoPtr<cellSizeAndAlignmentControl>
Ostream & indent(Ostream &os)
Indent stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
static autoPtr< cellSizeAndAlignmentControl > New(const Time &runTime, const word &name, const dictionary &controlFunctionDict, const conformationSurfaces &geometryToConformTo, const scalar &defaultCellSize)
Return a reference to the selected cellShapeControl.
Macros for easy insertion into run-time selection tables.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
messageStream Info
Information stream (stdout output on master, null elsewhere)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...