32 const word& methodName,
38 const bool reverseTarget,
39 const bool requireMatch
44 Info<<
"Selecting AMIMethod " << methodName <<
endl;
47 typename componentsConstructorTable::iterator cstrIter =
48 componentsConstructorTablePtr_->find(methodName);
50 if (cstrIter == componentsConstructorTablePtr_->end())
53 <<
"Unknown AMIMethod type " 54 << methodName <<
nl <<
nl 55 <<
"Valid AMIMethod types are:" <<
nl 56 << 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.
static autoPtr< AMIMethod > New(const word &methodName, const primitivePatch &srcPatch, const primitivePatch &tgtPatch, const scalarField &srcMagSf, const scalarField &tgtMagSf, const faceAreaIntersect::triangulationMode &triMode, const bool reverseTarget, const bool requireMatch)
Selector.
A list of faces which address into the list of points.
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...