61 const word& defaultPatchDistMethod
64 word modelType(defaultPatchDistMethod);
73 Info<<
"Selecting patchDistMethod " << modelType <<
endl;
74 auto* ctorPtr = dictionaryConstructorTable(modelType);
83 *dictionaryConstructorTablePtr_
87 return ctorPtr(
dict,
mesh, patchIDs);
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.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
Mesh data needed to do the Finite Volume discretisation.
@ REGEX
Regular expression.
Specialisation of patchDist for wall distance calculation.
virtual ~patchDistMethod()
Destructor.
A class for handling words, derived from Foam::string.
#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.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.