41 polyPatchConstructorTable::iterator cstrIter =
42 polyPatchConstructorTablePtr_->find(
patch.type());
44 if (cstrIter == polyPatchConstructorTablePtr_->end())
47 <<
"Unknown facePointPatch type "
50 <<
"Valid facePointPatch types are :" <<
endl
51 << polyPatchConstructorTablePtr_->sortedToc()
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const polyPatch & patch() const
Return the polyPatch.
static autoPtr< facePointPatch > New(const polyPatch &, const pointBoundaryMesh &)
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 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.