42 polyPatchConstructorTable::iterator cstrIter =
43 polyPatchConstructorTablePtr_->find(
patch.type());
45 if (cstrIter == polyPatchConstructorTablePtr_->end())
48 <<
"Unknown fvPatch type " <<
patch.type() <<
nl
49 <<
"Valid fvPatch types are :"
50 << 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.
const polyPatch & patch() const
Return the 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 InfoInFunction
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.