46 const word& searchableSurfaceType,
51 dictConstructorTable::iterator cstrIter =
52 dictConstructorTablePtr_->find(searchableSurfaceType);
54 if (cstrIter == dictConstructorTablePtr_->end())
57 <<
"Unknown searchableSurface type " << searchableSurfaceType
59 <<
"Valid searchableSurface types : " <<
endl 60 << dictConstructorTablePtr_->sortedToc()
112 return triSurface::typeName;
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.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Ostream & endl(Ostream &os)
Add newline and flush stream.
static word geometryDir_
Name of the directory for the geometry files.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
virtual void findNearest(const pointField &sample, const scalarField &nearestDistSqr, List< pointIndexHit > &) const =0
bool isDir(const fileName &, const bool followLink=true)
Does the name exist as a directory in the file system?
static const word & geometryDir()
Return the geometry directory name.
A class for handling words, derived from string.
const fileName & rootPath() const
Return root path.
const word & constant() const
Return constant name.
searchableSurface(const IOobject &io)
const fileName & globalCaseName() const
Return global case name.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
virtual ~searchableSurface()
Destructor.
const Time & time() const
Return time.
static autoPtr< searchableSurface > New(const word &surfaceType, const IOobject &io, const dictionary &dict)
Return a reference to the selected searchableSurface.
virtual void getRegion(const List< pointIndexHit > &, labelList ®ion) const =0
From a set of points and indices get the region.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual void getNormal(const List< pointIndexHit > &, vectorField &normal) const =0
From a set of points and indices get the normal.