38 #ifndef Foam_cyclicAMIGAMGInterface_H 39 #define Foam_cyclicAMIGAMGInterface_H 102 const labelField& neighbourRestrictAddressing,
103 const label fineLevelIndex,
104 const label coarseComm
127 const label coarseComm,
142 const label coarseComm,
156 faceRestrictAddresssing,
188 return neighbPatchID_;
191 virtual bool owner()
const 196 virtual const cyclicAMIGAMGInterface&
neighbPatch()
const 198 return dynamic_cast<const cyclicAMIGAMGInterface&
> virtual ~cyclicAMIGAMGInterface()=default
Destructor.
GAMG agglomerated cyclic AMI interface.
commsTypes
Communications types.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Transfer and return internal field adjacent to the interface.
AMIInterpolation AMIPatchToPatchInterpolation
Patch-to-patch interpolation == Foam::AMIInterpolation.
virtual label index() const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
TypeName("cyclicAMI")
Runtime type information.
Smooth ATC in cells next to a set of patches supplied by type.
const lduInterfacePtrsList & coarseInterfaces_
All interfaces.
virtual const cyclicAMIGAMGInterface & neighbPatch() const
Return processor number.
An abstract base class for cyclic AMI coupled interfaces.
virtual autoPtr< GAMGInterface > clone(const label index, const lduInterfacePtrsList &coarseInterfaces, const labelList &interfaceMap, const labelUList &faceCells, const labelUList &faceRestrictAddresssing, const labelUList &faceOffsets, const lduInterfacePtrsList &allInterfaces, const label coarseComm, const label myProcNo, const labelList &procAgglomMap) const
Construct by assembling and returning a clone.
virtual const tensorField & forwardT() const
Return face transformation tensor.
virtual void write(Ostream &) const
Write to stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual label myProcNo() const
-1 or old local rank
virtual label neighbPatchID() const
Cyclic interface functions.
Abstract base class for GAMG agglomerated interfaces.
virtual const AMIPatchToPatchInterpolation & AMI() const
virtual const lduInterfacePtrsList & coarseInterfaces() const
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches...
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
virtual bool owner() const