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