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