cyclicGAMGInterfaceField Class Reference

GAMG agglomerated cyclic interface field. More...

Inheritance diagram for cyclicGAMGInterfaceField:
Collaboration diagram for cyclicGAMGInterfaceField:

Public Member Functions

 TypeName ("cyclic")
 Runtime type information. More...
 
 cyclicGAMGInterfaceField (const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterfaceField)
 Construct from GAMG interface and fine level interface field. More...
 
 cyclicGAMGInterfaceField (const GAMGInterface &GAMGCp, const bool doTransform, const int rank)
 Construct from GAMG interface and fine level interface field. More...
 
virtual ~cyclicGAMGInterfaceField ()
 Destructor. More...
 
label size () const
 Return size. More...
 
virtual bool doTransform () const
 Cyclic interface functions. More...
 
virtual const tensorFieldforwardT () const
 Return face transformation tensor. More...
 
virtual const tensorFieldreverseT () const
 Return neighbour-cell transformation tensor. More...
 
virtual int rank () const
 Return rank of component for transform. More...
 
virtual void updateInterfaceMatrix (scalarField &result, const scalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
 Update result field based on interface functionality. More...
 
- Public Member Functions inherited from GAMGInterfaceField
 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 ()
 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...
 
bool & updatedMatrix ()
 Whether matrix has been updated. More...
 
virtual bool ready () const
 Is all data available. More...
 
virtual void initInterfaceMatrixUpdate (scalarField &, const scalarField &, const scalarField &, const direction, const Pstream::commsTypes commsType) const
 Initialise neighbour matrix update. More...
 
- Public Member Functions inherited from cyclicLduInterfaceField
 TypeName ("cyclicLduInterfaceField")
 Runtime type information. More...
 
 cyclicLduInterfaceField ()
 Construct given coupled patch. More...
 
virtual ~cyclicLduInterfaceField ()
 Destructor. More...
 
template<class Type >
void transformCoupleField (Field< Type > &f) const
 Transform given patch field. More...
 
void transformCoupleField (scalarField &f, const direction cmpt) const
 Transform given patch component field. More...
 

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. More...
 
static autoPtr
< GAMGInterfaceField
New (const GAMGInterface &GAMGCp, const bool doTransform, const int rank)
 Return a pointer to a new interface created on freestore given. More...
 

Detailed Description

GAMG agglomerated cyclic interface field.

Source files

Definition at line 51 of file cyclicGAMGInterfaceField.H.

Constructor & Destructor Documentation

cyclicGAMGInterfaceField ( const GAMGInterface GAMGCp,
const lduInterfaceField fineInterfaceField 
)

Construct from GAMG interface and fine level interface field.

Definition at line 69 of file cyclicGAMGInterfaceField.C.

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

Here is the call graph for this function:

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

Construct from GAMG interface and fine level interface field.

Definition at line 88 of file cyclicGAMGInterfaceField.C.

Destructor.

Definition at line 103 of file cyclicGAMGInterfaceField.C.

References cyclicGAMGInterfaceField::~cyclicGAMGInterfaceField().

Referenced by cyclicGAMGInterfaceField::~cyclicGAMGInterfaceField().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Function Documentation

TypeName ( "cyclic"  )

Runtime type information.

label size ( ) const
inline

Return size.

Definition at line 110 of file cyclicGAMGInterfaceField.H.

References cyclicGAMGInterfaceField::size(), and GAMGInterface::size().

Referenced by cyclicGAMGInterfaceField::size().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual bool doTransform ( ) const
inlinevirtual

Cyclic interface functions.

Does the interface field perform the transfromation

Implements cyclicLduInterfaceField.

Definition at line 119 of file cyclicGAMGInterfaceField.H.

virtual const tensorField& forwardT ( ) const
inlinevirtual

Return face transformation tensor.

Implements cyclicLduInterfaceField.

Definition at line 125 of file cyclicGAMGInterfaceField.H.

References cyclicGAMGInterfaceField::forwardT(), and cyclicGAMGInterface::forwardT().

Referenced by cyclicGAMGInterfaceField::forwardT().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual const tensorField& reverseT ( ) const
inlinevirtual

Return neighbour-cell transformation tensor.

Implements cyclicLduInterfaceField.

Definition at line 131 of file cyclicGAMGInterfaceField.H.

References cyclicGAMGInterfaceField::reverseT(), and cyclicGAMGInterface::reverseT().

Referenced by cyclicGAMGInterfaceField::reverseT().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual int rank ( ) const
inlinevirtual

Return rank of component for transform.

Implements cyclicLduInterfaceField.

Definition at line 137 of file cyclicGAMGInterfaceField.H.

void updateInterfaceMatrix ( scalarField result,
const scalarField 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 110 of file cyclicGAMGInterfaceField.C.

References forAll, and scalarField().

Here is the call graph for this function:


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