32 const word& methodName,
39 Info<<
"Selecting AMIMethod " << methodName <<
endl;
42 componentsConstructorTable::iterator cstrIter =
43 componentsConstructorTablePtr_->find(methodName);
45 if (cstrIter == componentsConstructorTablePtr_->end())
48 <<
"Unknown meshToMesh type " 49 << methodName <<
nl <<
nl 50 <<
"Valid meshToMesh types are:" <<
nl 51 << componentsConstructorTablePtr_->sortedToc() <<
exit(
FatalError);
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A class for handling words, derived from string.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
static autoPtr< meshToMeshMethod > New(const word &methodName, const polyMesh &src, const polyMesh &tgt)
Selector.