Go to the documentation of this file.
50 #ifndef processorFvPatchField_H
51 #define processorFvPatchField_H
86 mutable label outstandingSendRequest_;
89 mutable label outstandingRecvRequest_;
101 TypeName(processorFvPatch::typeName_());
210 virtual bool ready()
const;
267 virtual label
comm()
const
269 return procPatch_.
comm();
297 virtual int rank()
const
The class contains the addressing required by the lduMatrix: upper, lower and losort.
virtual bool coupled() const
Return true if running parallel.
virtual void updateInterfaceMatrix(solveScalarField &result, const bool add, const lduAddressing &lduAddr, const label patchId, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
Update result field based on interface functionality.
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.
TypeName(processorFvPatch::typeName_())
Runtime type information.
~processorFvPatchField()=default
Destructor.
virtual void initEvaluate(const Pstream::commsTypes commsType)
Initialise the evaluation of the patch field.
virtual void initInterfaceMatrixUpdate(solveScalarField &result, const bool add, const lduAddressing &lduAddr, const label patchId, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
Initialise neighbour matrix update.
virtual const tensorField & forwardT() const
Return face transformation tensor.
Generic templated field type.
virtual int neighbProcNo() const
Return neighbour processor number.
virtual void evaluate(const Pstream::commsTypes commsType)
Evaluate the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool doTransform() const
Does the patch field perform the transformation.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
virtual const tensorField & forwardT() const
Return face transformation tensor.
virtual label comm() const
Return communicator used for comms.
commsTypes
Types of communications.
virtual tmp< Field< Type > > patchNeighbourField() const
Return neighbour field given internal field.
Abstract base class for coupled patches.
static bool & parRun() noexcept
Test if this a parallel run.
A traits class, which is primarily used for primitives.
virtual bool ready() const
Is all data available.
virtual int rank() const
Return rank of component for transform.
virtual tmp< fvPatchField< Type > > clone() const
Construct and return a clone.
Foam::fvPatchFieldMapper.
virtual int neighbProcNo() const
Return neighbour 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.