39 polyPatchConstructorTable::iterator cstrIter =
40 polyPatchConstructorTablePtr_->find(patch.type());
42 if (cstrIter == polyPatchConstructorTablePtr_->end())
45 <<
"Unknown fvPatch type " << patch.type() <<
nl
46 <<
"Valid fvPatch types are :"
47 << polyPatchConstructorTablePtr_->sortedToc()
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static autoPtr< fvPatch > New(const polyPatch &, const fvBoundaryMesh &)
Return a pointer to a new patch created on freestore from polyPatch.
A patch is a list of labels that address the faces in the global face list.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define DebugInFunction
Report an information message using Foam::Info.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.