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