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 lduInterfaceField &)=delete | |
No copy construct. More... | |
void | operator= (const lduInterfaceField &)=delete |
No copy assignment. More... | |
lduInterfaceField (const lduInterface &patch) | |
Construct given coupled patch. More... | |
virtual | ~lduInterfaceField ()=default |
Destructor. More... | |
const lduInterface & | interface () const noexcept |
Return the interface. More... | |
virtual const word & | interfaceFieldType () const |
Return the interface type. More... | |
virtual bool | ready () const |
Are all (receive) data available? More... | |
bool | updatedMatrix () const noexcept |
Whether matrix has been updated. More... | |
bool | updatedMatrix (bool flag) const noexcept |
Set matrix as update-to-date, return the previous value. 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 |
Initialise neighbour matrix update. Add/subtract coupled contributions to matrix. More... | |
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. More... | |
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... | |
bool & | updatedMatrix () noexcept |
Adjust whether matrix has been updated. 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 50 of file GAMGInterfaceField.H.
|
inline |
Construct from GAMG interface and fine level interface field.
Definition at line 143 of file GAMGInterfaceField.H.
|
inline |
Construct from GAMG interface and fine level interface field.
Definition at line 156 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 27 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 51 of file GAMGInterfaceFieldNew.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInLookup.
|
inline |
Return interface.
Definition at line 174 of file GAMGInterfaceField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.