43Foam::cellSizeAndAlignmentControl::cellSizeAndAlignmentControl
48 const conformationSurfaces& geometryToConformTo,
49 const scalar& defaultCellSize
53 defaultCellSize_(defaultCellSize),
54 forceInitialPointInsertion_
56 dict.getOrDefault<Switch>
58 "forceInitialPointInsertion",
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>
Macros for easy insertion into run-time selection tables.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const word & name() 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.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & indent(Ostream &os)
Indent stream.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.