Go to the documentation of this file.
48 #ifndef processorFvPatchField_H
49 #define processorFvPatchField_H
98 TypeName(processorFvPatch::typeName_());
207 virtual bool ready()
const;
281 virtual int rank()
const
label outstandingSendRequest_
Outstanding request.
virtual bool coupled() const
Return true if running parallel.
processorFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual label comm() const
Processor coupled interface functions.
This boundary condition enables processor communication across patches.
A class for managing temporary objects.
virtual bool parallel() const
Are the cyclic planes parallel.
virtual int myProcNo() const
Return processor number.
static bool & parRun()
Is this a parallel run?
TypeName(processorFvPatch::typeName_())
Runtime type information.
virtual void initEvaluate(const Pstream::commsTypes commsType)
Initialise the evaluation of the patch field.
Field< scalar > scalarSendBuf_
Scalar send buffer.
virtual const tensorField & forwardT() const
Return face transformation tensor.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Field< Type > sendBuf_
Send buffer.
virtual int neighbProcNo() const
Return neigbour processor number.
virtual void evaluate(const Pstream::commsTypes commsType)
Evaluate the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void initInterfaceMatrixUpdate(scalarField &result, const scalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
Initialise neighbour matrix update.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual bool doTransform() const
Does the patch field perform the transfromation.
virtual const tensorField & forwardT() const
Return face transformation tensor.
virtual label comm() const
Return communicator used for comms.
virtual void updateInterfaceMatrix(scalarField &result, const scalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
Update result field based on interface functionality.
virtual tmp< Field< Type > > patchNeighbourField() const
Return neighbour field given internal field.
~processorFvPatchField()
Destructor.
commsTypes
Types of communications.
label outstandingRecvRequest_
Outstanding request.
Abstract base class for coupled patches.
Field< scalar > scalarReceiveBuf_
Scalar receive buffer.
Traits class for primitives.
virtual bool ready() const
Is all data available.
virtual int rank() const
Return rank of component for transform.
const processorFvPatch & procPatch_
Local reference cast into the processor patch.
Field< Type > receiveBuf_
Receive buffer.
virtual tmp< fvPatchField< Type > > clone() const
Construct and return a clone.
Foam::fvPatchFieldMapper.
virtual int neighbProcNo() const
Return neigbour processor number.
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
Abstract base class for processor coupled interfaces.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual int myProcNo() const
Return processor number.