47#ifndef calculatedProcessorFvPatchField_H
48#define calculatedProcessorFvPatchField_H
168 virtual label
comm()
const
199 virtual int rank()
const
223 virtual bool ready()
const;
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic templated field type.
commsTypes
Types of communications.
static bool & parRun() noexcept
Test if this a parallel run.
A processorFvPatchField type bypassing fvPatch.
Field< Type > receiveBuf_
Receive buffer.
const lduPrimitiveProcessorInterface & procInterface_
Local reference cast into the interface.
virtual bool doTransform() const
Is the transform required.
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.
Field< Type > sendBuf_
Send buffer.
virtual int rank() const
Return rank of component for transform.
virtual void initInterfaceMatrixUpdate(Field< Type > &result, const bool add, const lduAddressing &lduAddr, const label patchId, const Field< Type > &psiInternal, const scalarField &coeffs, const Pstream::commsTypes commsType) const
Initialise neighbour matrix update.
virtual bool coupled() const
Return true if this patch field is coupled.
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.
solveScalarField scalarReceiveBuf_
Scalar receive buffer.
virtual void updateInterfaceMatrix(Field< Type > &result, const bool add, const lduAddressing &lduAddr, const label patchId, const Field< Type > &psiInternal, const scalarField &coeffs, const Pstream::commsTypes commsType) const
Update result field based on interface functionality.
virtual void initEvaluate(const Pstream::commsTypes commsType)
Initialise the evaluation of the patch field.
virtual ~calculatedProcessorFvPatchField()=default
Destructor.
solveScalarField scalarSendBuf_
Scalar send buffer.
virtual int myProcNo() const
Return processor number.
virtual label comm() const
Return communicator used for comms.
TypeName("calculatedProcessor")
Runtime type information.
virtual void evaluate(const Pstream::commsTypes commsType)
Evaluate the patch field.
virtual tmp< fvPatchField< Type > > clone() const
Construct and return a clone.
label outstandingSendRequest_
Outstanding request.
label outstandingRecvRequest_
Outstanding request.
void addToInternalField(solveScalarField &result, const bool add, const scalarField &coeffs, const solveScalarField &vals) const
virtual bool ready() const
Is all data available.
virtual tmp< Field< Type > > patchNeighbourField() const
Return neighbour field of internal field.
virtual int neighbProcNo() const
Return neighbour processor number.
virtual tmp< fvPatchField< Type > > clone(const DimensionedField< Type, volMesh > &iF) const
Construct and return a clone setting internal field reference.
virtual const tensorField & forwardT() const
Return face transformation tensor.
Abstract base class for coupled patches.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
The class contains the addressing required by the lduMatrix: upper, lower and losort.
const lduInterface & interface() const
Return the interface.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
Concrete implementation of processor interface. Used to temporarily store settings.
virtual int myProcNo() const
Return processor number (rank in communicator)
virtual label comm() const
Return communicator used for sending.
virtual const tensorField & forwardT() const
Return face transformation tensor.
A traits class, which is primarily used for primitives.
Abstract base class for processor coupled interfaces.
A class for managing temporary objects.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Field< solveScalar > solveScalarField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.