38#ifndef processorFvPatch_H
39#define processorFvPatch_H
75 TypeName(processorPolyPatch::typeName_());
91 virtual label
comm()
const
93 return procPolyPatch_.
comm();
109 virtual int tag()
const
122 return procPolyPatch_;
commsTypes
Types of communications.
static int & msgType() noexcept
Message tag of standard messages.
static bool & parRun() noexcept
Test if this a parallel run.
An abstract base class for patches that couple regions of the computational domain e....
virtual void initInternalFieldTransfer(const Pstream::commsTypes commsType, labelUList &iF) const
Initialise neighbour field transfer.
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
virtual bool parallel() const
Are the cyclic planes parallel.
virtual const tensorField & forwardT() const
Return face transformation tensor.
Smooth ATC in cells next to a set of patches supplied by type.
const polyPatch & patch() const
Return the polyPatch.
A patch is a list of labels that address the faces in the global face list.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
virtual bool coupled() const
Return true if running parallel.
void makeWeights(scalarField &) const
Make patch weighting factors.
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
processorFvPatch(const polyPatch &patch, const fvBoundaryMesh &bm)
Construct from components.
virtual bool parallel() const
Are the cyclic planes parallel.
virtual int myProcNo() const
Return processor number.
virtual label comm() const
Return communicator used for comms.
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
TypeName(processorPolyPatch::typeName_())
Runtime type information.
virtual void initInternalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Initialise neighbour field transfer.
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
virtual int tag() const
Return message tag used for sending.
const processorPolyPatch & procPolyPatch() const
virtual int neighbProcNo() const
Return neighbour processor number.
virtual const tensorField & forwardT() const
Return face transformation tensor.
An abstract base class for processor coupled interfaces.
Neighbour processor patch.
int myProcNo() const
Return processor number.
int neighbProcNo() const
Return neighbour processor number.
virtual label comm() const
Return communicator used for communication.
A class for managing temporary objects.
To & refCast(From &r)
Reference type cast template function.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.