Public Member Functions | Static Public Member Functions | List of all members
GAMGInterfaceField Class Reference

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

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

Public Member Functions

 TypeName ("GAMGInterfaceField")
 
 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 &)
 
 GAMGInterfaceField (const GAMGInterface &GAMGCp, const bool doTransform, const int rank)
 
const GAMGInterfaceinterface () const
 
- Public Member Functions inherited from lduInterfaceField
 TypeName ("lduInterfaceField")
 
 lduInterfaceField (const lduInterface &patch)
 
virtual ~lduInterfaceField ()=default
 
const lduInterfaceinterface () const
 
virtual const wordinterfaceFieldType () const
 
bool updatedMatrix () const
 
boolupdatedMatrix ()
 
virtual bool ready () const
 
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
 

Static Public Member Functions

static autoPtr< GAMGInterfaceFieldNew (const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterface)
 
static autoPtr< GAMGInterfaceFieldNew (const GAMGInterface &GAMGCp, const bool doTransform, const int rank)
 

Detailed Description

Abstract base class for GAMG agglomerated interface fields.

Source files

Definition at line 50 of file GAMGInterfaceField.H.

Constructor & Destructor Documentation

◆ GAMGInterfaceField() [1/2]

GAMGInterfaceField ( const GAMGInterface GAMGCp,
const lduInterfaceField  
)
inline

Definition at line 127 of file GAMGInterfaceField.H.

◆ GAMGInterfaceField() [2/2]

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

Definition at line 138 of file GAMGInterfaceField.H.

Member Function Documentation

◆ TypeName()

TypeName ( "GAMGInterfaceField"  )

◆ 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

Definition at line 27 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

Definition at line 51 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

Definition at line 154 of file GAMGInterfaceField.H.


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