GAMGInterfaceField Class Reference

Abstract base class for GAMG agglomerated interface fields. More...

Inheritance diagram for GAMGInterfaceField:
[legend]
Collaboration diagram for GAMGInterfaceField:
[legend]

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 GAMGInterfaceinterface () 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 lduInterfaceinterface () const
 Return the interface. More...
 
virtual const wordinterfaceFieldType () const
 Return the interface type. More...
 
bool updatedMatrix () const
 Whether matrix has been updated. More...
 
boolupdatedMatrix ()
 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< GAMGInterfaceFieldNew (const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterface)
 Return a pointer to a new interface created on freestore given. More...
 
static autoPtr< GAMGInterfaceFieldNew (const GAMGInterface &GAMGCp, const bool doTransform, const int rank)
 Return a pointer to a new interface created on freestore given. More...
 

Detailed Description

Abstract base class for GAMG agglomerated interface fields.

Source files

Definition at line 54 of file GAMGInterfaceField.H.

Constructor & Destructor Documentation

◆ GAMGInterfaceField() [1/2]

GAMGInterfaceField ( const GAMGInterface GAMGCp,
const lduInterfaceField  
)
inline

Construct from GAMG interface and fine level interface field.

Definition at line 131 of file GAMGInterfaceField.H.

◆ GAMGInterfaceField() [2/2]

GAMGInterfaceField ( const GAMGInterface GAMGCp,
const bool  doTransform,
const int  rank 
)
inline

Construct from GAMG interface and fine level interface field.

Definition at line 142 of file GAMGInterfaceField.H.

Member Function Documentation

◆ TypeName()

TypeName ( "GAMGInterfaceField"  )

Runtime type information.

◆ declareRunTimeSelectionTable() [1/2]

declareRunTimeSelectionTable ( autoPtr  ,
GAMGInterfaceField  ,
lduInterfaceField  ,
(const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterface)  ,
(GAMGCp, fineInterface)   
)

◆ declareRunTimeSelectionTable() [2/2]

declareRunTimeSelectionTable ( autoPtr  ,
GAMGInterfaceField  ,
lduInterface  ,
(const GAMGInterface &GAMGCp, const bool doTransform, const int rank)  ,
(GAMGCp, doTransform, rank)   
)

◆ New() [1/2]

Foam::autoPtr< Foam::GAMGInterfaceField > New ( const GAMGInterface GAMGCp,
const lduInterfaceField fineInterface 
)
static

Return a pointer to a new interface created on freestore given.

the fine interface

Definition at line 34 of file GAMGInterfaceFieldNew.C.

References Foam::exit(), Foam::FatalError, FatalErrorInLookup, and lduInterfaceField::interfaceFieldType().

Here is the call graph for this function:

◆ New() [2/2]

Foam::autoPtr< Foam::GAMGInterfaceField > New ( const GAMGInterface GAMGCp,
const bool  doTransform,
const int  rank 
)
static

Return a pointer to a new interface created on freestore given.

the fine interface

Definition at line 58 of file GAMGInterfaceFieldNew.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInLookup.

Here is the call graph for this function:

◆ interface()

const GAMGInterface& interface ( ) const
inline

Return interface.

Definition at line 158 of file GAMGInterfaceField.H.


The documentation for this class was generated from the following files: