43 const label fineLevelIndex,
44 const label coarseComm
47 const word coupleType(fineInterface.type());
49 auto* ctorPtr = lduInterfaceConstructorTable(coupleType);
57 *lduInterfaceConstructorTablePtr_
68 localRestrictAddressing,
69 neighbourRestrictAddressing,
79 const word& coupleType,
85 auto* ctorPtr = IstreamConstructorTable(coupleType);
93 *IstreamConstructorTablePtr_
97 return autoPtr<GAMGInterface>(ctorPtr(index, coarseInterfaces, is));
static autoPtr< GAMGInterface > New(const label index, const lduInterfacePtrsList &coarseInterfaces, const lduInterface &fineInterface, const labelField &localRestrictAddressing, const labelField &neighbourRestrictAddressing, const label fineLevelIndex, const label coarseComm)
Return a pointer to a new interface created on freestore given.
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
virtual label index() const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
#define FatalErrorInLookup(lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalError.
A class for handling words, derived from Foam::string.
virtual const lduInterfacePtrsList & coarseInterfaces() const
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches...
Pointer management similar to std::unique_ptr, with some additional methods and type checking...