38 #ifndef Foam_cyclicAMIGAMGInterface_H 39 #define Foam_cyclicAMIGAMGInterface_H 98 const label fineLevelIndex,
99 const label coarseComm
122 const label coarseComm,
123 const label myProcNo,
137 const label coarseComm,
138 const label myProcNo,
151 faceRestrictAddresssing,
183 return neighbPatchID_;
186 virtual bool owner()
const 191 virtual const cyclicAMIGAMGInterface&
neighbPatch()
const 193 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 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