Go to the documentation of this file.
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 cstrIter = dictionaryConstructorTablePtr_->cfind(modelType);
85 if (!cstrIter.found())
90 "cellSizeAndAlignmentControl",
92 *dictionaryConstructorTablePtr_
96 return autoPtr<cellSizeAndAlignmentControl>
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
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.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (uses stdout - output is on the master only)
word name(const complex &c)
Return string representation of complex.
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)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
defineTypeNameAndDebug(combustionModel, 0)