processorGAMGInterfaceField Class Reference

GAMG agglomerated processor interface field. More...

Inheritance diagram for processorGAMGInterfaceField:
Collaboration diagram for processorGAMGInterfaceField:

Public Member Functions

 TypeName ("processor")
 Runtime type information. More...
 
 processorGAMGInterfaceField (const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterface)
 Construct from GAMG interface and fine level interface field. More...
 
 processorGAMGInterfaceField (const GAMGInterface &GAMGCp, const int rank)
 Construct from GAMG interface and fine level interface field. More...
 
 processorGAMGInterfaceField (const processorGAMGInterfaceField &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~processorGAMGInterfaceField ()
 Destructor. More...
 
label size () const
 Return size. More...
 
virtual void initInterfaceMatrixUpdate (scalarField &result, const scalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
 Initialise neighbour matrix update. 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...
 
virtual label comm () const
 Processor interface functions. More...
 
virtual int myProcNo () const
 Return processor number. More...
 
virtual int neighbProcNo () const
 Return neighbour processor number. More...
 
virtual const transformertransform () const
 Return transformation between the coupled patches. More...
 
virtual int rank () const
 Return rank of component for transform. More...
 
void operator= (const processorGAMGInterfaceField &)=delete
 Disallow default bitwise assignment. 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 int rank),(GAMGCp, rank))
 
 GAMGInterfaceField (const GAMGInterface &GAMGCp, const lduInterfaceField &)
 Construct from GAMG interface and fine level interface field. More...
 
 GAMGInterfaceField (const GAMGInterface &GAMGCp, const int rank)
 Construct from GAMG interface and fine level interface field. More...
 
 GAMGInterfaceField (const GAMGInterfaceField &)=delete
 Disallow default bitwise copy construction. More...
 
const GAMGInterfaceinterface () const
 Return interface. More...
 
void operator= (const GAMGInterfaceField &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from lduInterfaceField
 TypeName ("lduInterfaceField")
 Runtime type information. More...
 
 lduInterfaceField (const lduInterface &patch)
 Construct given coupled patch. More...
 
 lduInterfaceField (const lduInterfaceField &)=delete
 Disallow default bitwise copy construction. 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...
 
boolupdatedMatrix ()
 Whether matrix has been updated. More...
 
virtual bool ready () const
 Is all data available. More...
 
void operator= (const lduInterfaceField &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from processorLduInterfaceField
 TypeName ("processorLduInterfaceField")
 Runtime type information. More...
 
 processorLduInterfaceField ()
 Construct given coupled patch. More...
 
virtual ~processorLduInterfaceField ()
 Destructor. More...
 
bool transforms () const
 Is the transform required. 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< GAMGInterfaceFieldNew (const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterface)
 Return a pointer to a new interface created on freestore given. More...
 
static autoPtr< GAMGInterfaceFieldNew (const GAMGInterface &GAMGCp, const int rank)
 Return a pointer to a new interface created on freestore given. More...
 

Detailed Description

GAMG agglomerated processor interface field.

Source files

Definition at line 50 of file processorGAMGInterfaceField.H.

Constructor & Destructor Documentation

◆ processorGAMGInterfaceField() [1/3]

processorGAMGInterfaceField ( const GAMGInterface GAMGCp,
const lduInterfaceField fineInterface 
)

Construct from GAMG interface and fine level interface field.

Definition at line 53 of file processorGAMGInterfaceField.C.

References p, and processorLduInterfaceField::rank().

Here is the call graph for this function:

◆ processorGAMGInterfaceField() [2/3]

processorGAMGInterfaceField ( const GAMGInterface GAMGCp,
const int  rank 
)

Construct from GAMG interface and fine level interface field.

Definition at line 70 of file processorGAMGInterfaceField.C.

◆ processorGAMGInterfaceField() [3/3]

Disallow default bitwise copy construction.

◆ ~processorGAMGInterfaceField()

Destructor.

Definition at line 83 of file processorGAMGInterfaceField.C.

References processorGAMGInterfaceField::initInterfaceMatrixUpdate().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "processor"  )

Runtime type information.

◆ size()

label size ( ) const
inline

◆ initInterfaceMatrixUpdate()

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

Initialise neighbour matrix update.

Reimplemented from lduInterfaceField.

Definition at line 90 of file processorGAMGInterfaceField.C.

References UPstream::floatTransfer, UPstream::nonBlocking, UPstream::nRequests(), UIPstream::read(), lduInterfaceField::updatedMatrix(), processorGAMGInterfaceField::updateInterfaceMatrix(), and UOPstream::write().

Referenced by processorGAMGInterfaceField::size(), and processorGAMGInterfaceField::~processorGAMGInterfaceField().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateInterfaceMatrix()

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 140 of file processorGAMGInterfaceField.C.

References UPstream::floatTransfer, forAll, UPstream::nonBlocking, UPstream::nRequests(), List< T >::size(), lduInterfaceField::updatedMatrix(), and UPstream::waitRequest().

Referenced by processorGAMGInterfaceField::initInterfaceMatrixUpdate(), and processorGAMGInterfaceField::size().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ comm()

virtual label comm ( ) const
inlinevirtual

Processor interface functions.

Return communicator used for comms

Implements processorLduInterfaceField.

Definition at line 149 of file processorGAMGInterfaceField.H.

References processorGAMGInterface::comm().

Here is the call graph for this function:

◆ myProcNo()

virtual int myProcNo ( ) const
inlinevirtual

Return processor number.

Implements processorLduInterfaceField.

Definition at line 155 of file processorGAMGInterfaceField.H.

References processorGAMGInterface::myProcNo().

Here is the call graph for this function:

◆ neighbProcNo()

virtual int neighbProcNo ( ) const
inlinevirtual

Return neighbour processor number.

Implements processorLduInterfaceField.

Definition at line 161 of file processorGAMGInterfaceField.H.

References processorGAMGInterface::neighbProcNo().

Here is the call graph for this function:

◆ transform()

virtual const transformer& transform ( ) const
inlinevirtual

Return transformation between the coupled patches.

Implements processorLduInterfaceField.

Definition at line 167 of file processorGAMGInterfaceField.H.

References processorGAMGInterface::transform().

Here is the call graph for this function:

◆ rank()

virtual int rank ( ) const
inlinevirtual

Return rank of component for transform.

Implements processorLduInterfaceField.

Definition at line 173 of file processorGAMGInterfaceField.H.

References processorGAMGInterfaceField::operator=().

Here is the call graph for this function:

◆ operator=()

void operator= ( const processorGAMGInterfaceField )
delete

Disallow default bitwise assignment.

Referenced by processorGAMGInterfaceField::rank().

Here is the caller graph for this function:

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