FreeFOAM The Cross-Platform CFD Toolkit
processorGAMGInterfaceField Class Reference

GAMG agglomerated processor interface field. More...

#include <OpenFOAM/processorGAMGInterfaceField.H>


Detailed Description

+ Inheritance diagram for processorGAMGInterfaceField:
+ Collaboration diagram for processorGAMGInterfaceField:

List of all members.

Public Member Functions

 TypeName ("processor")
 Runtime type information.
 processorGAMGInterfaceField (const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterface)
 Construct from GAMG interface and fine level interface field.
virtual ~processorGAMGInterfaceField ()
label size () const
 Return size.
virtual void initInterfaceMatrixUpdate (const scalarField &psiInternal, scalarField &result, const lduMatrix &m, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
 Initialise neighbour matrix update.
virtual void updateInterfaceMatrix (const scalarField &psiInternal, scalarField &result, const lduMatrix &, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
 Update result field based on interface functionality.
virtual int myProcNo () const
 Processor interface functions.
virtual int neighbProcNo () const
 Return neigbour processor number.
virtual bool doTransform () const
 Does the interface field perform the transfromation.
virtual const tensorFieldforwardT () const
 Return face transformation tensor.
virtual int rank () const
 Return rank of component for transform.
- Public Member Functions inherited from GAMGInterfaceField
 TypeName ("GAMGInterfaceField")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, GAMGInterfaceField, lduInterface,(const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterface),(GAMGCp, fineInterface))
 GAMGInterfaceField (const GAMGInterface &GAMGCp, const lduInterfaceField &)
 Construct from GAMG interface and fine level interface field.
- Public Member Functions inherited from lduInterfaceField
 TypeName ("lduInterfaceField")
 Runtime type information.
 lduInterfaceField (const lduInterface &patch)
 Construct given coupled patch.
virtual ~lduInterfaceField ()
const lduInterfaceinterface () const
 Return the interface.
virtual const wordinterfaceFieldType () const
 Return the interface type.
- Public Member Functions inherited from processorLduInterfaceField
 TypeName ("processorLduInterfaceField")
 Runtime type information.
 processorLduInterfaceField ()
 Construct given coupled patch.
virtual ~processorLduInterfaceField ()
void transformCoupleField (scalarField &f, const direction cmpt) const
 Transform given patch component field.

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.

Constructor & Destructor Documentation

processorGAMGInterfaceField ( const GAMGInterface GAMGCp,
const lduInterfaceField fineInterface 
)

Construct from GAMG interface and fine level interface field.

Definition at line 47 of file processorGAMGInterfaceField.C.

References processorLduInterfaceField::doTransform(), p, and processorLduInterfaceField::rank().

Definition at line 67 of file processorGAMGInterfaceField.C.


Member Function Documentation

TypeName ( "processor"  )

Runtime type information.

label size ( ) const
inline

Return size.

Definition at line 103 of file processorGAMGInterfaceField.H.

References GAMGInterface::size().

void initInterfaceMatrixUpdate ( const scalarField psiInternal,
scalarField result,
const lduMatrix m,
const scalarField coeffs,
const direction  cmpt,
const Pstream::commsTypes  commsType 
) const
virtual

Initialise neighbour matrix update.

Reimplemented from lduInterfaceField.

Definition at line 74 of file processorGAMGInterfaceField.C.

void updateInterfaceMatrix ( const scalarField psiInternal,
scalarField result,
const lduMatrix ,
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 processorGAMGInterfaceField.C.

References forAll, and List< T >::size().

virtual int myProcNo ( ) const
inlinevirtual

Processor interface functions.

Return processor number

Implements processorLduInterfaceField.

Definition at line 137 of file processorGAMGInterfaceField.H.

References processorGAMGInterface::myProcNo().

virtual int neighbProcNo ( ) const
inlinevirtual

Return neigbour processor number.

Implements processorLduInterfaceField.

Definition at line 143 of file processorGAMGInterfaceField.H.

References processorGAMGInterface::neighbProcNo().

virtual bool doTransform ( ) const
inlinevirtual

Does the interface field perform the transfromation.

Implements processorLduInterfaceField.

Definition at line 149 of file processorGAMGInterfaceField.H.

virtual const tensorField& forwardT ( ) const
inlinevirtual

Return face transformation tensor.

Implements processorLduInterfaceField.

Definition at line 155 of file processorGAMGInterfaceField.H.

References processorGAMGInterface::forwardT().

virtual int rank ( ) const
inlinevirtual

Return rank of component for transform.

Implements processorLduInterfaceField.

Definition at line 161 of file processorGAMGInterfaceField.H.


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