36 #ifndef coupledFvPatch_H
37 #define coupledFvPatch_H
82 TypeName(coupledPolyPatch::typeName_());
106 return coupledPolyPatch_.
coupled();
110 virtual bool owner()
const
112 return coupledPolyPatch_.
owner();
commsTypes
Types of communications.
An abstract base class for patches that couple regions of the computational domain e....
TypeName(coupledPolyPatch::typeName_())
Runtime type information.
virtual void initInternalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Inherit initInternalFieldTransfer from lduInterface.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const =0
Return neighbour field.
virtual bool owner() const
Does this side own the patch ?
virtual bool coupled() const
Return true because this patch is coupled.
coupledFvPatch(const polyPatch &patch, const fvBoundaryMesh &bm)
Construct from polyPatch.
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const =0
Return the values of the given internal data adjacent to.
virtual const transformer & transform() const =0
Return transformation between the coupled patches.
virtual ~coupledFvPatch()
Destructor.
virtual const labelUList & faceCells() const
Return faceCell addressing.
void makeWeights(scalarField &w, const vectorField &nbrSf, const vectorField &nbrDelta) const
Make patch weighting factors.
virtual bool neighbour() const
Does the coupled side own the patch ?
virtual tmp< vectorField > delta() const =0
Return delta (P to N) vectors across coupled patch.
The coupledPolyPatch is an abstract base class for patches that couple regions of the computational d...
virtual bool coupled() const
Return true because this patch is coupled.
virtual bool owner() const =0
Does this side own the patch ?
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const polyPatch & patch() const
Return the polyPatch.
virtual const labelUList & faceCells() const
Return faceCells.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
virtual void initInternalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
Initialise transfer of internal field adjacent to the interface.
A patch is a list of labels that address the faces in the global face list.
A class for managing temporary objects.
To & refCast(From &r)
Reference type cast template function.