38 #ifndef Foam_processorGAMGInterfaceField_H 39 #define Foam_processorGAMGInterfaceField_H 74 mutable label sendRequest_;
77 mutable label recvRequest_;
134 return procInterface_.
size();
170 virtual label
comm()
const 172 return procInterface_.
comm();
200 virtual int rank()
const virtual label size() const
Return size.
virtual const tensorField & forwardT() const
Return face transformation tensor.
virtual const tensorField & forwardT() const
Return face transformation tensor.
commsTypes
Communications types.
virtual int rank() const
Return rank of component for transform.
label size() const
Return size.
virtual int myProcNo() const
Return processor number (rank in communicator)
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields...
virtual int myProcNo() const
Return processor number.
virtual int neighbProcNo() const
Return neighbour processor number.
virtual ~processorGAMGInterfaceField()=default
Destructor.
Abstract base class for processor coupled interfaces.
TypeName("processor")
Runtime type information.
virtual int neighbProcNo() const
Return neighbour processor number (rank in communicator)
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
GAMG agglomerated processor interface.
virtual label comm() const
Processor interface functions.
Abstract base class for GAMG agglomerated interfaces.
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
Abstract base class for GAMG agglomerated interface fields.
The class contains the addressing required by the lduMatrix: upper, lower and losort.
GAMG agglomerated processor interface field.
virtual bool doTransform() const
Does the interface field perform the transformation.
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.
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 label comm() const
Processor interface functions.