Abstract base class for GAMG agglomerated interface fields. More...
#include <GAMGInterfaceField.H>


Public Member Functions | |
| TypeName ("GAMGInterfaceField") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, GAMGInterfaceField, lduInterfaceField,(const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterface),(GAMGCp, fineInterface)) | |
| declareRunTimeSelectionTable (autoPtr, GAMGInterfaceField, lduInterface,(const GAMGInterface &GAMGCp, const bool doTransform, const int rank),(GAMGCp, doTransform, rank)) | |
| declareRunTimeSelectionTable (autoPtr, GAMGInterfaceField, Istream,(const GAMGInterface &GAMGCp, Istream &is),(GAMGCp, is)) | |
| GAMGInterfaceField (const GAMGInterface &GAMGCp, const lduInterfaceField &) | |
| Construct from GAMG interface and fine level interface field. | |
| GAMGInterfaceField (const GAMGInterface &GAMGCp, const bool doTransform, const int rank) | |
| Construct from GAMG interface and fine level interface field. | |
| GAMGInterfaceField (const GAMGInterface &GAMGCp, Istream &is) | |
| Construct from GAMG interface and fine level interface field. | |
| virtual autoPtr< GAMGInterfaceField > | clone (const GAMGInterface &GAMGCp, const UPtrList< lduInterfaceField > &other) const =0 |
| Construct by assembling and return a clone. | |
| virtual | ~GAMGInterfaceField ()=default |
| Destructor. | |
| const GAMGInterface & | interface () const |
| Return interface. | |
| virtual void | write (Ostream &) const =0 |
| Write to stream. | |
| Public Member Functions inherited from lduInterfaceField | |
| TypeName ("lduInterfaceField") | |
| Runtime type information. | |
| lduInterfaceField (const lduInterfaceField &)=delete | |
| No copy construct. | |
| void | operator= (const lduInterfaceField &)=delete |
| No copy assignment. | |
| lduInterfaceField (const lduInterface &patch) | |
| Construct given coupled patch. | |
| virtual | ~lduInterfaceField ()=default |
| Destructor. | |
| const lduInterface & | interface () const noexcept |
| Return the interface. | |
| virtual const word & | interfaceFieldType () const |
| Return the interface type. | |
| virtual bool | ready () const |
| Are all (receive) data available? | |
| bool | updatedMatrix () const noexcept |
| Whether matrix has been updated. | |
| bool | updatedMatrix (bool flag) const noexcept |
| Set matrix as update-to-date, return the previous value. | |
| virtual void | initInterfaceMatrixUpdate (solveScalarField &result, const bool add, const lduAddressing &, const label interfacei, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const |
| Initialise neighbour matrix update. Add/subtract coupled contributions to matrix. | |
| virtual void | updateInterfaceMatrix (solveScalarField &result, const bool add, const lduAddressing &, const label interfacei, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const =0 |
| Update result field based on interface functionality. Add/subtract coupled contributions to matrix. | |
| template<class Type> | |
| void | addToInternalField (Field< Type > &result, const bool add, const labelUList &faceCells, const scalarField &coeffs, const Field< Type > &vals) const |
| Add/subtract weighted contributions to internal field. | |
| bool & | updatedMatrix () noexcept |
| Adjust whether matrix has been updated. | |
Static Public Member Functions | |
| static autoPtr< GAMGInterfaceField > | New (const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterface) |
| Return a pointer to a new interface created on freestore given. | |
| static autoPtr< GAMGInterfaceField > | New (const GAMGInterface &GAMGCp, const bool doTransform, const int rank) |
| Return a pointer to a new interface created on freestore given. | |
| static autoPtr< GAMGInterfaceField > | New (const word &patchFieldType, const GAMGInterface &GAMGCp, Istream &is) |
| Return a pointer to a new interface created on freestore given. | |
Abstract base class for GAMG agglomerated interface fields.
Definition at line 50 of file GAMGInterfaceField.H.
|
inline |
Construct from GAMG interface and fine level interface field.
Definition at line 166 of file GAMGInterfaceField.H.
References lduInterfaceField::lduInterfaceField().

|
inline |
Construct from GAMG interface and fine level interface field.
Definition at line 179 of file GAMGInterfaceField.H.
References lduInterfaceField::lduInterfaceField().

|
inline |
Construct from GAMG interface and fine level interface field.
Definition at line 193 of file GAMGInterfaceField.H.
References lduInterfaceField::lduInterfaceField().

|
virtualdefault |
Destructor.
| TypeName | ( | "GAMGInterfaceField" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| GAMGInterfaceField | , | ||
| lduInterfaceField | , | ||
| (const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterface) | , | ||
| (GAMGCp, fineInterface) | ) |
| declareRunTimeSelectionTable | ( | autoPtr | , |
| GAMGInterfaceField | , | ||
| lduInterface | , | ||
| (const GAMGInterface &GAMGCp, const bool doTransform, const int rank) | , | ||
| (GAMGCp, doTransform, rank) | ) |
| declareRunTimeSelectionTable | ( | autoPtr | , |
| GAMGInterfaceField | , | ||
| Istream | , | ||
| (const GAMGInterface &GAMGCp, Istream &is) | , | ||
| (GAMGCp, is) | ) |
|
static |
Return a pointer to a new interface created on freestore given.
the fine interface
Definition at line 26 of file GAMGInterfaceFieldNew.C.
References Foam::exit(), Foam::FatalError, FatalErrorInLookup, lduInterfaceField::interfaceFieldType(), and lduInterfaceField::lduInterfaceField().

|
static |
Return a pointer to a new interface created on freestore given.
the fine interface
Definition at line 50 of file GAMGInterfaceFieldNew.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInLookup.

|
static |
Return a pointer to a new interface created on freestore given.
the fine interface and stream
Definition at line 75 of file GAMGInterfaceFieldNew.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInLookup.

|
pure virtual |
Construct by assembling and return a clone.
Implemented in calculatedProcessorGAMGInterfaceField, cyclicACMIGAMGInterfaceField, cyclicAMIGAMGInterfaceField, cyclicGAMGInterfaceField, oversetGAMGInterfaceField, processorCyclicGAMGInterfaceField, and processorGAMGInterfaceField.
|
inline |
Return interface.
Definition at line 226 of file GAMGInterfaceField.H.
|
pure virtual |
Write to stream.
Implemented in calculatedProcessorGAMGInterfaceField, cyclicACMIGAMGInterfaceField, cyclicAMIGAMGInterfaceField, cyclicGAMGInterfaceField, oversetGAMGInterfaceField, and processorGAMGInterfaceField.