FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

processorGAMGInterface Class Reference

GAMG agglomerated processor interface. More...

#include <OpenFOAM/processorGAMGInterface.H>


Detailed Description

GAMG agglomerated processor interface.

Source files

Definition at line 51 of file processorGAMGInterface.H.

Inheritance diagram for processorGAMGInterface:
Collaboration diagram for processorGAMGInterface:

List of all members.

Public Member Functions

 TypeName ("processor")
 Runtime type information.
 processorGAMGInterface (const lduInterface &fineInterface, const labelField &restrictAddressing, const labelField &neighbourRestrictAddressing)
 Construct from fine-level interface,.
virtual  ~processorGAMGInterface ()
virtual void  initTransfer (const Pstream::commsTypes commsType, const unallocLabelList &interfaceData) const
 Initialise interface data transfer.
virtual tmp< labelField >  transfer (const Pstream::commsTypes commsType, const unallocLabelList &interfaceData) const
 Transfer and return neighbour field.
virtual void  initInternalFieldTransfer (const Pstream::commsTypes commsType, const unallocLabelList &iF) const
 Initialise neighbour field transfer.
virtual tmp< labelField >  internalFieldTransfer (const Pstream::commsTypes commsType, const unallocLabelList &iF) const
 Transfer and return internal field adjacent to the interface.
virtual int  myProcNo () const
 Processor interface functions.
virtual int  neighbProcNo () const
 Return neigbour processor number.
virtual const tensorField &  forwardT () const
 Return face transformation tensor.

Constructor & Destructor Documentation

processorGAMGInterface ( const lduInterface &   fineInterface,
const labelField &   restrictAddressing,
const labelField &   neighbourRestrictAddressing  
)

Construct from fine-level interface,.

local and neighbour restrict addressing

Definition at line 46 of file processorGAMGInterface.C.

References LList< LListBase, T >::append(), LList< SLListBase, T >::append(), SLListBase::begin(), SLListBase::end(), forAll, HashTable< T, Key, Hash >::insert(), and List< T >::size().

~processorGAMGInterface (  ) [virtual]

Definition at line 240 of file processorGAMGInterface.C.


Member Function Documentation

TypeName ( "processor"    )

Runtime type information.

void initTransfer ( const Pstream::commsTypes   commsType,
const unallocLabelList &   interfaceData  
) const [virtual]

Initialise interface data transfer.

Reimplemented from lduInterface.

Definition at line 247 of file processorGAMGInterface.C.

Foam::tmp< Foam::labelField > transfer ( const Pstream::commsTypes   commsType,
const unallocLabelList &   interfaceData  
) const [virtual]

Transfer and return neighbour field.

Implements lduInterface.

Definition at line 257 of file processorGAMGInterface.C.

void initInternalFieldTransfer ( const Pstream::commsTypes   commsType,
const unallocLabelList &   iF  
) const [virtual]

Initialise neighbour field transfer.

Reimplemented from lduInterface.

Definition at line 267 of file processorGAMGInterface.C.

Foam::tmp< Foam::labelField > internalFieldTransfer ( const Pstream::commsTypes   commsType,
const unallocLabelList &   iF  
) const [virtual]

Transfer and return internal field adjacent to the interface.

Implements lduInterface.

Definition at line 277 of file processorGAMGInterface.C.

virtual int myProcNo (  ) const [inline, virtual]

Processor interface functions.

Return processor number

Implements processorLduInterface.

Definition at line 130 of file processorGAMGInterface.H.

References processorLduInterface::myProcNo().

Referenced by processorGAMGInterfaceField::myProcNo().

virtual int neighbProcNo (  ) const [inline, virtual]

Return neigbour processor number.

Implements processorLduInterface.

Definition at line 136 of file processorGAMGInterface.H.

References processorLduInterface::neighbProcNo().

Referenced by processorGAMGInterfaceField::neighbProcNo().

virtual const tensorField& forwardT (  ) const [inline, virtual]

Return face transformation tensor.

Implements processorLduInterface.

Definition at line 142 of file processorGAMGInterface.H.

References processorLduInterface::forwardT().

Referenced by processorGAMGInterfaceField::forwardT().


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