Go to the documentation of this file.
39 #ifndef GAMGInterface_H
40 #define GAMGInterface_H
103 const labelField& neighbourRestrictAddressing,
104 const label fineLevelIndex,
105 const label coarseComm
111 localRestrictAddressing,
112 neighbourRestrictAddressing,
146 const labelField& neighbourRestrictAddressing,
147 const label fineLevelIndex,
148 const label coarseComm
155 const word& coupleType,
206 virtual label
size()
const
211 virtual label
index()
const
virtual void write(Ostream &) const =0
Write to stream.
virtual label size() const
Return size.
A class for handling words, derived from Foam::string.
const label index_
My index in coarseInterfaces.
A class for managing temporary objects.
declareRunTimeSelectionTable(autoPtr, GAMGInterface, lduInterface,(const label index, const lduInterfacePtrsList &coarseInterfaces, const lduInterface &fineInterface, const labelField &localRestrictAddressing, const labelField &neighbourRestrictAddressing, const label fineLevelIndex, const label coarseComm),(index, coarseInterfaces, fineInterface, localRestrictAddressing, neighbourRestrictAddressing, fineLevelIndex, coarseComm))
labelList faceRestrictAddressing_
Face restrict addressing.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
virtual const labelList & faceRestrictAddressing() const
Return (local)face restrict addressing.
void operator=(const GAMGInterface &)=delete
No copy assignment.
GAMGInterface(const GAMGInterface &)=delete
No copy construct.
labelList faceCells_
Face-cell addressing.
virtual const labelUList & faceCells() const
Return faceCell addressing.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const lduInterfacePtrsList & coarseInterfaces_
All interfaces.
Abstract base class for GAMG agglomerated interfaces.
virtual tmp< scalarField > agglomerateCoeffs(const scalarField &fineCoeffs) const
Agglomerating the given fine-level coefficients and return.
virtual labelList & faceRestrictAddressing()
Return non-const access to face restrict addressing.
TypeName("GAMGInterface")
Runtime type information.
virtual label index() const
tmp< Field< Type > > interfaceInternalField(const UList< Type > &internalData) const
Return the interface internal field of the given field.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
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.
virtual const lduInterfacePtrsList & coarseInterfaces() const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Smooth ATC in cells next to a set of patches supplied by type.
void combine(const GAMGInterface &)
Merge the next level with this level.