38#ifndef cyclicGAMGInterface_H
39#define cyclicGAMGInterface_H
53class cyclicGAMGInterface
76 cyclicGAMGInterface(
const cyclicGAMGInterface&) =
delete;
79 void operator=(
const cyclicGAMGInterface&) =
delete;
99 const label fineLevelIndex,
100 const label coarseComm
135 const label coarseComm,
136 const label myProcNo,
142 new cyclicGAMGInterface
149 faceRestrictAddresssing,
178 return neighbPatchID_;
181 virtual bool owner()
const
186 virtual const cyclicGAMGInterface&
neighbPatch()
const
188 return dynamic_cast<const cyclicGAMGInterface&
>
virtual label index() const
virtual const lduInterfacePtrsList & coarseInterfaces() const
virtual const labelUList & faceCells() const
Return faceCell addressing.
const lduInterfacePtrsList & coarseInterfaces_
All interfaces.
GAMGInterface(const GAMGInterface &)=delete
No copy construct.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
commsTypes
Communications types.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual bool owner() const
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
virtual label neighbPatchID() const
Cyclic interface functions.
virtual ~cyclicGAMGInterface()=default
Destructor.
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 cyclicGAMGInterface & neighbPatch() const
Return processor number.
TypeName("cyclic")
Runtime type information.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Transfer and return internal field adjacent to the interface.
virtual const tensorField & forwardT() const
Return face transformation tensor.
cyclicLduInterface() noexcept=default
Default construct.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
A class for managing temporary objects.
OBJstream os(runTime.globalPath()/outputName)
List< label > labelList
A List of labels.
UPtrList< const lduInterface > lduInterfacePtrsList
Store lists of lduInterface as a UPtrList.
Field< label > labelField
Specialisation of Field<T> for label.
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
UList< label > labelUList
A UList of labels.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.