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>
Macros for easy insertion into run-time selection tables.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const word & name() const
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
#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.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.