Go to the documentation of this file.
47 #ifndef calculatedProcessorFvPatchField_H
48 #define calculatedProcessorFvPatchField_H
169 virtual label
comm()
const
200 virtual int rank()
const
224 virtual bool ready()
const;
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.
virtual void initInterfaceMatrixUpdate(solveScalarField &result, const bool add, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
Initialise neighbour matrix update.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
static bool & parRun()
Test if this a parallel run, or allow modify access.
virtual const tensorField & forwardT() const
Return face transformation tensor.
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 void updateInterfaceMatrix(solveScalarField &result, const bool add, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
Update result field based on interface functionality.
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.
processorFvPatchField type bypassing fvPatch
label outstandingRecvRequest_
Outstanding request.
commsTypes
Types of communications.
Field< Type > receiveBuf_
Receive buffer.
Abstract base class for coupled patches.
Traits class for primitives.
virtual ~calculatedProcessorFvPatchField()=default
Destructor.
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.