41 const word& searchableSurfaceType,
46 dictConstructorTable::iterator cstrIter =
47 dictConstructorTablePtr_->find(searchableSurfaceType);
49 if (cstrIter == dictConstructorTablePtr_->end())
53 "searchableSurface::New(const word&," 54 " const IOobject&, const dictionary&)" 55 ) <<
"Unknown searchableSurface type " << searchableSurfaceType
57 <<
"Valid searchableSurface types : " <<
endl 58 << dictConstructorTablePtr_->sortedToc()
68 Foam::searchableSurface::searchableSurface(
const IOobject& io)
A class for handling words, derived from string.
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...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static autoPtr< searchableSurface > New(const word &surfaceType, const IOobject &io, const dictionary &dict)
Return a reference to the selected searchableSurface.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual ~searchableSurface()
Destructor.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual void getRegion(const List< pointIndexHit > &, labelList ®ion) const =0
From a set of points and indices get the region.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
virtual void findNearest(const pointField &sample, const scalarField &nearestDistSqr, List< pointIndexHit > &) const =0
virtual void getNormal(const List< pointIndexHit > &, vectorField &normal) const =0
From a set of points and indices get the normal.
defineTypeNameAndDebug(combustionModel, 0)