Abstract base class for GAMG agglomerated interface fields. More...
Public Member Functions | |
TypeName ("GAMGInterfaceField") | |
Runtime type information. More... | |
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)) | |
GAMGInterfaceField (const GAMGInterface &GAMGCp, const lduInterfaceField &) | |
Construct from GAMG interface and fine level interface field. More... | |
GAMGInterfaceField (const GAMGInterface &GAMGCp, const bool doTransform, const int rank) | |
Construct from GAMG interface and fine level interface field. More... | |
const GAMGInterface & | interface () const |
Return interface. More... | |
Public Member Functions inherited from lduInterfaceField | |
TypeName ("lduInterfaceField") | |
Runtime type information. More... | |
lduInterfaceField (const lduInterface &patch) | |
Construct given coupled patch. More... | |
virtual | ~lduInterfaceField ()=default |
Destructor. More... | |
const lduInterface & | interface () const |
Return the interface. More... | |
virtual const word & | interfaceFieldType () const |
Return the interface type. More... | |
bool | updatedMatrix () const |
Whether matrix has been updated. More... | |
bool & | updatedMatrix () |
Whether matrix has been updated. More... | |
virtual bool | ready () const |
Is all data available. More... | |
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 |
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 |
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. More... | |
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. More... | |
static autoPtr< GAMGInterfaceField > | New (const GAMGInterface &GAMGCp, const bool doTransform, const int rank) |
Return a pointer to a new interface created on freestore given. More... | |
Abstract base class for GAMG agglomerated interface fields.
Definition at line 54 of file GAMGInterfaceField.H.
|
inline |
Construct from GAMG interface and fine level interface field.
Definition at line 130 of file GAMGInterfaceField.H.
|
inline |
Construct from GAMG interface and fine level interface field.
Definition at line 141 of file GAMGInterfaceField.H.
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) | |||
) |
|
static |
Return a pointer to a new interface created on freestore given.
the fine interface
Definition at line 33 of file GAMGInterfaceFieldNew.C.
References Foam::exit(), Foam::FatalError, FatalErrorInLookup, and lduInterfaceField::interfaceFieldType().
|
static |
Return a pointer to a new interface created on freestore given.
the fine interface
Definition at line 57 of file GAMGInterfaceFieldNew.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInLookup.
|
inline |
Return interface.
Definition at line 158 of file GAMGInterfaceField.H.