35 #ifndef regionCoupledBaseGAMGInterface_H 36 #define regionCoupledBaseGAMGInterface_H 77 const label fineLevelIndex,
78 const label coarseComm
109 return fineRegionCoupledLduInterface_.
nbrPatchID();
112 virtual bool owner()
const 114 return fineRegionCoupledLduInterface_.
owner();
121 fineRegionCoupledLduInterface_.
nbrPatch()
132 return fineRegionCoupledLduInterface_.
nbrMesh();
137 const label fineLevelIndex,
146 GAMGAgglomeration::typeName
virtual lduInterfacePtrsList interfaces() const =0
Return a list of pointers for each patch.
virtual bool owner() const =0
Is it owner?
An abstract base class for region coupled interfaces.
Base class for GAMG agglomerated coupled region interface.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
regionCoupledBaseGAMGInterface(const label index, const lduInterfacePtrsList &coarseInterfaces, const lduInterface &fineInterface, const labelField &restrictAddressing, const labelField &neighbourRestrictAddressing, const label fineLevelIndex, const label coarseComm)
Construct from fine level interface,.
const lduMesh & meshLevel(const label leveli) const
Return LDU mesh of given level.
commsTypes
Types of communications.
virtual label index() const
virtual label nbrPatchID() const
Cyclic interface functions.
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Transfer and return internal field adjacent to the interface.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
virtual const polyMesh & nbrMesh() const =0
Return AMI.
virtual label nbrPatchID() const =0
Return neighbour.
void operator=(const regionCoupledBaseGAMGInterface &)=delete
Disallow default bitwise assignment.
virtual const polyMesh & nbrMesh() const
Return AMI.
virtual ~regionCoupledBaseGAMGInterface()
Destructor.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual const regionCoupledLduInterface & nbrPatch() const =0
Return neighb regionCoupledLduInterface.
virtual const regionCoupledBaseGAMGInterface & nbrPatch() const
Return neighb regionCoupledLduInterface.
Abstract base class for GAMG agglomerated interfaces.
virtual const lduInterfacePtrsList & coarseInterfaces() const
virtual bool owner() const
Is it owner?
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches...
const objectRegistry & thisDb() const
Return the object registry.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
Geometric agglomerated algebraic multigrid agglomeration class.
const lduInterface & nbrLduInterface(const label fineLevelIndex, const label index) const