Public Member Functions | List of all members
cyclicGAMGInterfaceField Class Reference

GAMG agglomerated cyclic interface field. More...

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

Public Member Functions

 TypeName ("cyclic")
 
 cyclicGAMGInterfaceField (const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterfaceField)
 
 cyclicGAMGInterfaceField (const GAMGInterface &GAMGCp, const bool doTransform, const int rank)
 
virtual ~cyclicGAMGInterfaceField ()=default
 
label size () const
 
virtual bool doTransform () const
 
virtual const tensorFieldforwardT () const
 
virtual const tensorFieldreverseT () const
 
virtual int rank () const
 
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
 
- Public Member Functions inherited from GAMGInterfaceField
 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
 
template<class Type >
void addToInternalField (Field< Type > &result, const bool add, const labelUList &faceCells, const scalarField &coeffs, const Field< Type > &vals) const
 
- Public Member Functions inherited from cyclicLduInterfaceField
 TypeName ("cyclicLduInterfaceField")
 
 cyclicLduInterfaceField ()=default
 
virtual ~cyclicLduInterfaceField ()=default
 
template<class Type >
void transformCoupleField (Field< Type > &f) const
 
void transformCoupleField (solveScalarField &f, const direction cmpt) const
 

Additional Inherited Members

- Static Public Member Functions inherited from GAMGInterfaceField
static autoPtr< GAMGInterfaceFieldNew (const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterface)
 
static autoPtr< GAMGInterfaceFieldNew (const GAMGInterface &GAMGCp, const bool doTransform, const int rank)
 

Detailed Description

GAMG agglomerated cyclic interface field.

Source files

Definition at line 49 of file cyclicGAMGInterfaceField.H.

Constructor & Destructor Documentation

◆ cyclicGAMGInterfaceField() [1/2]

cyclicGAMGInterfaceField ( const GAMGInterface GAMGCp,
const lduInterfaceField fineInterfaceField 
)

Definition at line 65 of file cyclicGAMGInterfaceField.C.

References p.

◆ cyclicGAMGInterfaceField() [2/2]

cyclicGAMGInterfaceField ( const GAMGInterface GAMGCp,
const bool  doTransform,
const int  rank 
)

Definition at line 84 of file cyclicGAMGInterfaceField.C.

◆ ~cyclicGAMGInterfaceField()

virtual ~cyclicGAMGInterfaceField ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "cyclic"  )

◆ size()

label size ( ) const
inline

Definition at line 108 of file cyclicGAMGInterfaceField.H.

References GAMGInterface::size().

Here is the call graph for this function:

◆ doTransform()

virtual bool doTransform ( ) const
inlinevirtual

Implements cyclicLduInterfaceField.

Definition at line 117 of file cyclicGAMGInterfaceField.H.

◆ forwardT()

virtual const tensorField& forwardT ( ) const
inlinevirtual

Implements cyclicLduInterfaceField.

Definition at line 123 of file cyclicGAMGInterfaceField.H.

References cyclicGAMGInterface::forwardT().

Here is the call graph for this function:

◆ reverseT()

virtual const tensorField& reverseT ( ) const
inlinevirtual

Implements cyclicLduInterfaceField.

Definition at line 129 of file cyclicGAMGInterfaceField.H.

References cyclicGAMGInterface::reverseT().

Here is the call graph for this function:

◆ rank()

virtual int rank ( ) const
inlinevirtual

Implements cyclicLduInterfaceField.

Definition at line 135 of file cyclicGAMGInterfaceField.H.

◆ 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

Implements lduInterfaceField.

Definition at line 100 of file cyclicGAMGInterfaceField.C.

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

Here is the call graph for this function:

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