38 #ifndef Foam_processorGAMGInterfaceField_H 39 #define Foam_processorGAMGInterfaceField_H 74 mutable label sendRequest_;
77 mutable label recvRequest_;
159 return procInterface_.
size();
166 virtual bool ready()
const;
198 virtual label
comm()
const 200 return procInterface_.
comm();
228 virtual int rank()
const virtual label size() const
Return size.
virtual autoPtr< GAMGInterfaceField > clone(const GAMGInterface &patch, const UPtrList< lduInterfaceField > &other) const
Construct by assembling and return a clone.
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.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
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)
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
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.
virtual void write(Ostream &) const
Write to stream.
Abstract base class for GAMG agglomerated interfaces.
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
const std::string patch
OpenFOAM patch number as a std::string.
Abstract base class for GAMG agglomerated interface fields.
virtual bool ready() const
Are all (receive) data available?
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
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.