38 lduInterfaceFieldConstructorTable::iterator cstrIter =
39 lduInterfaceFieldConstructorTablePtr_->find(coupleType);
41 if (cstrIter == lduInterfaceFieldConstructorTablePtr_->end())
44 <<
"Unknown GAMGInterfaceField type " 46 <<
"Valid GAMGInterfaceField types are :" 47 << lduInterfaceFieldConstructorTablePtr_->sortedToc()
61 const word coupleType(GAMGCp.type());
63 lduInterfaceConstructorTable::iterator cstrIter =
64 lduInterfaceConstructorTablePtr_->find(coupleType);
66 if (cstrIter == lduInterfaceConstructorTablePtr_->end())
69 <<
"Unknown GAMGInterfaceField type " 71 <<
"Valid GAMGInterfaceField types are :" 72 << lduInterfaceConstructorTablePtr_->sortedToc()
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual const word & interfaceFieldType() const
Return the interface type.
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields...
A class for handling words, derived from string.
static autoPtr< GAMGInterfaceField > New(const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterface)
Return a pointer to a new interface created on freestore given.
Abstract base class for GAMG agglomerated interfaces.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...