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;
130 findNearest(sample, nearestDistSqr, info);
131 getNormal(info, normal);
132 getRegion(info, region);
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static const word & constant()
Return constant name.
const fileName & globalCaseName() const
Return global case name.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const fileName & rootPath() const
Explicitly inherit rootPath from TimePaths to disambiguate from.
A list of keyword definitions, which are a keyword followed by any number of values (e....
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
static word geometryDir_
Name of the directory for the geometry files.
virtual void findNearest(const pointField &sample, const scalarField &nearestDistSqr, List< pointIndexHit > &) const =0
searchableSurface(const IOobject &io)
virtual ~searchableSurface()
Destructor.
static const word & geometryDir()
Return the geometry directory name.
static autoPtr< searchableSurface > New(const word &surfaceType, const IOobject &io, const dictionary &dict)
Return a reference to the selected searchableSurface.
A class for handling words, derived from string.
#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)
bool isDir(const fileName &, const bool followLink=true)
Does the name exist as a directory in the file system?