45 #ifndef lduCalculatedProcessorField_H 46 #define lduCalculatedProcessorField_H 110 ClassName(
"lduCalculatedProcessorField");
138 virtual label
comm()
const 168 virtual int rank()
const 177 virtual bool ready()
const;
virtual label comm() const
Return communicator used for sending.
virtual int myProcNo() const
Return processor number (rank in communicator)
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 int neighbProcNo() const
Return neighbour processor number.
virtual const tensorField & forwardT() const
Return face transformation tensor.
virtual int rank() const
Return rank of component for transform.
commsTypes
Types of communications.
virtual bool doTransform() const
Is the transform required.
A traits class, which is primarily used for primitives.
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields...
label outstandingSendRequest_
Outstanding request.
Field< Type > receiveBuf_
Receive buffer.
virtual const tensorField & forwardT() const
Return face transformation tensor.
solveScalarField scalarSendBuf_
Scalar send buffer.
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.
lduCalculatedProcessorField(const lduInterface &interface)
Construct from patch and internal field.
void addToInternalField(solveScalarField &result, const bool add, const scalarField &coeffs, const solveScalarField &vals) const
Abstract base class for processor coupled interfaces.
const lduInterface & interface() const
Return the interface.
Generic templated field type.
virtual ~lduCalculatedProcessorField()=default
Destructor.
virtual bool ready() const
Is all data available.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
solveScalarField scalarReceiveBuf_
Scalar receive buffer.
Concrete implementation of processor interface. Used to temporarily store settings.
Field< Type > sendBuf_
Send buffer.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches...
label outstandingRecvRequest_
Outstanding request.
A lduProcessorField type bypassing coupledFvPatchField.
The class contains the addressing required by the lduMatrix: upper, lower and losort.
const lduPrimitiveProcessorInterface & procInterface_
Local reference cast into the interface.
virtual label comm() const
Return communicator used for comms.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
ClassName("lduCalculatedProcessorField")
Runtime type information.
virtual int myProcNo() const
Return processor number.