59 word patchDistMethodType(dict.
lookup(
"method"));
61 Info<<
"Selecting patchDistMethod " << patchDistMethodType <<
endl;
63 dictionaryConstructorTable::iterator cstrIter =
64 dictionaryConstructorTablePtr_->find(patchDistMethodType);
66 if (cstrIter == dictionaryConstructorTablePtr_->end())
69 <<
"Unknown patchDistMethodType type " 70 << patchDistMethodType << endl << endl
71 <<
"Valid patchDistMethod types are : " << endl
72 << dictionaryConstructorTablePtr_->sortedToc()
76 return cstrIter()(
dict,
mesh, patchIDs);
virtual ~patchDistMethod()
Destructor.
static autoPtr< patchDistMethod > New(const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs)
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A class for handling words, derived from string.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
Mesh data needed to do the Finite Volume discretisation.
patchDistMethod(const fvMesh &mesh, const labelHashSet &patchIDs)
Construct from mesh and patch ID set.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.