Public Member Functions | Private Member Functions | Private Attributes
processorGAMGInterfaceField Class Reference

GAMG agglomerated processor interface field. More...

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

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 bool doTransform, const int rank)
 Construct from GAMG interface and fine level interface field. 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 neigbour processor number. More...
 
virtual bool doTransform () const
 Does the interface field perform the transfromation. More...
 
virtual const tensorFieldforwardT () const
 Return face transformation tensor. More...
 
virtual int rank () const
 Return rank of component for transform. 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...
 
- Public Member Functions inherited from processorLduInterfaceField
 TypeName ("processorLduInterfaceField")
 Runtime type information. More...
 
 processorLduInterfaceField ()
 Construct given coupled patch. More...
 
virtual ~processorLduInterfaceField ()
 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...
 

Private Member Functions

 processorGAMGInterfaceField (const processorGAMGInterfaceField &)
 Disallow default bitwise copy construct. More...
 
void operator= (const processorGAMGInterfaceField &)
 Disallow default bitwise assignment. More...
 

Private Attributes

const processorGAMGInterfaceprocInterface_
 Local reference cast into the processor interface. More...
 
bool doTransform_
 Is the transform required. More...
 
int rank_
 Rank of component for transformation. More...
 
label outstandingSendRequest_
 Outstanding request. More...
 
label outstandingRecvRequest_
 Outstanding request. More...
 
Field< scalar > scalarSendBuf_
 Scalar send buffer. More...
 
Field< scalar > scalarReceiveBuf_
 Scalar receive buffer. 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 bool doTransform, 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]

Disallow default bitwise copy construct.

◆ processorGAMGInterfaceField() [2/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.

◆ processorGAMGInterfaceField() [3/3]

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

Construct from GAMG interface and fine level interface field.

Definition at line 72 of file processorGAMGInterfaceField.C.

◆ ~processorGAMGInterfaceField()

Destructor.

Definition at line 87 of file processorGAMGInterfaceField.C.

Member Function Documentation

◆ operator=()

void operator= ( const processorGAMGInterfaceField )
private

Disallow default bitwise assignment.

◆ TypeName()

TypeName ( "processor"  )

Runtime type information.

◆ size()

label size ( ) const
inline

Return size.

Definition at line 125 of file processorGAMGInterfaceField.H.

References processorGAMGInterfaceField::procInterface_, and GAMGInterface::size().

Here is the call graph for this function:

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

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

Here is the call 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 145 of file processorGAMGInterfaceField.C.

References UPstream::floatTransfer, forAll, UPstream::nonBlocking, UPstream::nRequests(), lduInterfaceField::updatedMatrix(), UPstream::waitRequest(), and UPstream::warnComm.

Here is the call graph for this function:

◆ comm()

virtual label comm ( ) const
inlinevirtual

Processor interface functions.

Return communicator used for comms

Implements processorLduInterfaceField.

Definition at line 157 of file processorGAMGInterfaceField.H.

References processorGAMGInterface::comm(), and processorGAMGInterfaceField::procInterface_.

Here is the call graph for this function:

◆ myProcNo()

virtual int myProcNo ( ) const
inlinevirtual

Return processor number.

Implements processorLduInterfaceField.

Definition at line 163 of file processorGAMGInterfaceField.H.

References processorGAMGInterface::myProcNo(), and processorGAMGInterfaceField::procInterface_.

Here is the call graph for this function:

◆ neighbProcNo()

virtual int neighbProcNo ( ) const
inlinevirtual

Return neigbour processor number.

Implements processorLduInterfaceField.

Definition at line 169 of file processorGAMGInterfaceField.H.

References processorGAMGInterface::neighbProcNo(), and processorGAMGInterfaceField::procInterface_.

Here is the call graph for this function:

◆ doTransform()

virtual bool doTransform ( ) const
inlinevirtual

Does the interface field perform the transfromation.

Implements processorLduInterfaceField.

Definition at line 175 of file processorGAMGInterfaceField.H.

References processorGAMGInterfaceField::doTransform_.

Referenced by GAMGSolver::procAgglomerateMatrix().

Here is the caller graph for this function:

◆ forwardT()

virtual const tensorField& forwardT ( ) const
inlinevirtual

Return face transformation tensor.

Implements processorLduInterfaceField.

Definition at line 181 of file processorGAMGInterfaceField.H.

References processorGAMGInterface::forwardT(), and processorGAMGInterfaceField::procInterface_.

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 187 of file processorGAMGInterfaceField.H.

References processorGAMGInterfaceField::rank_.

Referenced by GAMGSolver::procAgglomerateMatrix().

Here is the caller graph for this function:

Field Documentation

◆ procInterface_

const processorGAMGInterface& procInterface_
private

◆ doTransform_

bool doTransform_
private

Is the transform required.

Definition at line 61 of file processorGAMGInterfaceField.H.

Referenced by processorGAMGInterfaceField::doTransform().

◆ rank_

int rank_
private

Rank of component for transformation.

Definition at line 64 of file processorGAMGInterfaceField.H.

Referenced by processorGAMGInterfaceField::rank().

◆ outstandingSendRequest_

label outstandingSendRequest_
mutableprivate

Outstanding request.

Definition at line 70 of file processorGAMGInterfaceField.H.

◆ outstandingRecvRequest_

label outstandingRecvRequest_
mutableprivate

Outstanding request.

Definition at line 73 of file processorGAMGInterfaceField.H.

◆ scalarSendBuf_

Field<scalar> scalarSendBuf_
mutableprivate

Scalar send buffer.

Definition at line 76 of file processorGAMGInterfaceField.H.

◆ scalarReceiveBuf_

Field<scalar> scalarReceiveBuf_
mutableprivate

Scalar receive buffer.

Definition at line 79 of file processorGAMGInterfaceField.H.


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