Loading...
Searching...
No Matches
oversetGAMGInterfaceField Class Reference

GAMG agglomerated. More...

#include <oversetGAMGInterfaceField.H>

Inheritance diagram for oversetGAMGInterfaceField:
Collaboration diagram for oversetGAMGInterfaceField:

Public Member Functions

 TypeName ("overset")
 Runtime type information.
 oversetGAMGInterfaceField (const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterfaceField)
 Construct from GAMG interface and fine level interface field.
 oversetGAMGInterfaceField (const GAMGInterface &GAMGCp, const bool doTransform, const int rank)
 Construct from GAMG interface and fine level interface field.
 oversetGAMGInterfaceField (const GAMGInterface &GAMGCp, Istream &is)
 Construct from GAMG interface and Istream.
virtual autoPtr< GAMGInterfaceField > clone (const GAMGInterface &GAMGCp, const UPtrList< lduInterfaceField > &other) const
 Construct by assembling and return a clone.
virtual ~oversetGAMGInterfaceField ()
 Destructor.
virtual void updateInterfaceMatrix (solveScalarField &result, const bool add, const lduAddressing &lduAddr, const label patchId, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
 Update result field based on interface functionality.
virtual void write (Ostream &) const
 Write to stream.
Public Member Functions inherited from GAMGInterfaceField
 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 ~GAMGInterfaceField ()=default
 Destructor.
const GAMGInterfaceinterface () const
 Return interface.
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 lduInterfaceinterface () const noexcept
 Return the interface.
virtual const wordinterfaceFieldType () 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.
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.
Public Member Functions inherited from oversetLduInterfaceField
 TypeName ("oversetLduInterfaceField")
 Runtime type information.
 oversetLduInterfaceField ()
 Construct given coupled patch.
virtual ~oversetLduInterfaceField ()
 Destructor.

Additional Inherited Members

Static Public Member Functions inherited from GAMGInterfaceField
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.

Detailed Description

GAMG agglomerated.

Source files

Definition at line 48 of file oversetGAMGInterfaceField.H.

Constructor & Destructor Documentation

◆ oversetGAMGInterfaceField() [1/3]

oversetGAMGInterfaceField ( const GAMGInterface & GAMGCp,
const lduInterfaceField & fineInterfaceField )

Construct from GAMG interface and fine level interface field.

Definition at line 53 of file oversetGAMGInterfaceField.C.

◆ oversetGAMGInterfaceField() [2/3]

oversetGAMGInterfaceField ( const GAMGInterface & GAMGCp,
const bool doTransform,
const int rank )

Construct from GAMG interface and fine level interface field.

Definition at line 63 of file oversetGAMGInterfaceField.C.

◆ oversetGAMGInterfaceField() [3/3]

oversetGAMGInterfaceField ( const GAMGInterface & GAMGCp,
Istream & is )

Construct from GAMG interface and Istream.

Definition at line 74 of file oversetGAMGInterfaceField.C.

◆ ~oversetGAMGInterfaceField()

~oversetGAMGInterfaceField ( )
virtual

Destructor.

Definition at line 86 of file oversetGAMGInterfaceField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "overset" )

Runtime type information.

◆ clone()

virtual autoPtr< GAMGInterfaceField > clone ( const GAMGInterface & GAMGCp,
const UPtrList< lduInterfaceField > & other ) const
inlinevirtual

Construct by assembling and return a clone.

Implements GAMGInterfaceField.

Definition at line 110 of file oversetGAMGInterfaceField.H.

References NotImplemented.

◆ updateInterfaceMatrix()

void updateInterfaceMatrix ( solveScalarField & result,
const bool add,
const lduAddressing & lduAddr,
const label patchId,
const solveScalarField & psiInternal,
const scalarField & coeffs,
const direction cmpt,
const Pstream::commsTypes commsType ) const
virtual

Update result field based on interface functionality.

Implements lduInterfaceField.

Definition at line 92 of file oversetGAMGInterfaceField.C.

References Foam::add(), and patchId().

Here is the call graph for this function:

◆ write()

void write ( Ostream & os) const
virtual

Write to stream.

Implements GAMGInterfaceField.

Definition at line 106 of file oversetGAMGInterfaceField.C.

References os().

Here is the call graph for this function:

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