Go to the documentation of this file.
42 Foam::patchDistMethod::patchDistMethod
64 Info<<
"Selecting patchDistMethod " << modelType <<
endl;
66 auto cstrIter = dictionaryConstructorTablePtr_->cfind(modelType);
68 if (!cstrIter.found())
75 *dictionaryConstructorTablePtr_
79 return cstrIter()(
dict,
mesh, patchIDs);
89 const word& defaultPatchDistMethod
92 const word modelType(
dict.getOrDefault(
"method", defaultPatchDistMethod));
94 Info<<
"Selecting patchDistMethod " << modelType <<
endl;
95 auto cstrIter = dictionaryConstructorTablePtr_->cfind(modelType);
97 if (!cstrIter.found())
104 *dictionaryConstructorTablePtr_
108 return cstrIter()(
dict,
mesh, patchIDs);
A class for handling words, derived from Foam::string.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
virtual ~patchDistMethod()
Destructor.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< patchDistMethod > New(const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs)
#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)
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.
errorManipArg< error, int > exit(error &err, const int errNo=1)
defineTypeNameAndDebug(combustionModel, 0)