37 #ifndef Foam_calculatedProcessorGAMGInterfaceField_H 38 #define Foam_calculatedProcessorGAMGInterfaceField_H 73 mutable label sendRequest_;
76 mutable label recvRequest_;
151 return procInterface_.
size();
187 virtual label
comm()
const 189 return procInterface_.
comm();
217 virtual int rank()
const virtual label size() const
Return size.
virtual const tensorField & forwardT() const
Return face transformation tensor.
virtual autoPtr< GAMGInterfaceField > clone(const GAMGInterface &GAMGCp, const UPtrList< lduInterfaceField > &other) const
Construct by assembling and return a clone.
virtual int neighbProcNo() const
Return neighbour processor number (rank in communicator)
commsTypes
Communications types.
TypeName("calculatedProcessor")
Runtime type information.
virtual label comm() const
Processor interface functions.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual bool doTransform() const
Does the interface field perform the transformation.
virtual ~calculatedProcessorGAMGInterfaceField()=default
Destructor.
virtual int myProcNo() const
Return processor number.
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields...
Abstract base class for processor coupled interfaces.
virtual label comm() const
Return communicator used for sending.
label size() const
Return size.
GAMG agglomerated processor interface.
GAMG agglomerated processor interface field.
virtual int rank() const
Return rank of component for transform.
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)
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.
Abstract base class for GAMG agglomerated interfaces.
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
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 int neighbProcNo() const
Return neighbour processor number.
Abstract base class for GAMG agglomerated interface fields.
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.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual void write(Ostream &) const
Write to stream.
virtual int myProcNo() const
Return processor number (rank in communicator)