Go to the documentation of this file.
36 #ifndef GAMGInterface_H
37 #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,
virtual void write(Ostream &) const =0
Write to stream.
virtual label size() const
Return size.
A class for handling words, derived from string.
const label index_
My index in coarseInterfaces.
GAMGInterface(const GAMGInterface &)
Disallow default bitwise copy construct.
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.
labelList faceCells_
Face-cell addressing.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
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.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
void operator=(const GAMGInterface &)
Disallow default bitwise assignment.
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.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
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
void size(const label)
Override size to be inconsistent with allocated storage.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void combine(const GAMGInterface &)
Merge the next level with this level.