42Foam::regularisationRadius::regularisationRadius
46 bool adjustWallThickness
60 bool adjustWallThickness
63 const word modelType =
dict.getOrDefault<
word>(
"type",
"isotropic");
65 auto* ctorPtr = dictionaryConstructorTable(modelType);
67 Info<<
"regularisationRadius type " << modelType <<
endl;
74 "regularisationRadius",
76 *dictionaryConstructorTablePtr_
80 return autoPtr<regularisationRadius>
82 ctorPtr(
mesh,
dict, adjustWallThickness)
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,...
Mesh data needed to do the Finite Volume discretisation.
Base class for selecting the regulatisation radius.
static autoPtr< regularisationRadius > New(const fvMesh &mesh, const dictionary &dict, bool adjustWallThickness)
Construct and return the selected regularisationRadius.
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.
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.