OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

processorLduInterface Class Reference

An abstract base class for processor coupled interfaces. More...

Inheritance diagram for processorLduInterface:
Collaboration diagram for processorLduInterface:

List of all members.


Public Member Functions

 TypeName ("processorLduInterface")
 Runtime type information.
 processorLduInterface ()
 Construct null.
virtual ~processorLduInterface ()
virtual int myProcNo () const =0
 Return processor number.
virtual int neighbProcNo () const =0
 Return neigbour processor number.
virtual const tensorField & forwardT () const =0
 Return face transformation tensor.
template<class Type >
void send (const Pstream::commsTypes commsType, const UList< Type > &) const
 Raw send function.
template<class Type >
void receive (const Pstream::commsTypes commsType, UList< Type > &) const
 Raw field receive function.
template<class Type >
tmp< Field< Type > > receive (const Pstream::commsTypes commsType, const label size) const
 Raw field receive function returning field.
template<class Type >
void compressedSend (const Pstream::commsTypes commsType, const UList< Type > &) const
 Raw field send function with data compression.
template<class Type >
void compressedReceive (const Pstream::commsTypes commsType, UList< Type > &) const
 Raw field receive function with data compression.
template<class Type >
tmp< Field< Type > > compressedReceive (const Pstream::commsTypes commsType, const label size) const
 Raw field receive function with data compression returning field.

Detailed Description

An abstract base class for processor coupled interfaces.

Source files

Definition at line 46 of file processorLduInterface.H.


Constructor & Destructor Documentation

Construct null.

Definition at line 45 of file processorLduInterface.C.

~processorLduInterface (  )  [virtual]

Definition at line 54 of file processorLduInterface.C.


Member Function Documentation

TypeName ( "processorLduInterface"   ) 

Runtime type information.

virtual int myProcNo (  )  const [pure virtual]

Return processor number.

Implemented in processorFvPatch, and processorGAMGInterface.

Referenced by processorGAMGInterface::myProcNo(), and procLduInterface::procLduInterface().

Here is the caller graph for this function:

virtual int neighbProcNo (  )  const [pure virtual]

Return neigbour processor number.

Implemented in processorFvPatch, and processorGAMGInterface.

Referenced by processorGAMGInterface::neighbProcNo(), procLduInterface::procLduInterface(), and processorLduInterface::send().

Here is the caller graph for this function:

virtual const tensorField& forwardT (  )  const [pure virtual]

Return face transformation tensor.

Implemented in processorFvPatch, and processorGAMGInterface.

Referenced by processorGAMGInterface::forwardT().

Here is the caller graph for this function:

void receive ( const Pstream::commsTypes  commsType,
UList< Type > &  f 
) const [inline]

Raw field receive function.

Definition at line 75 of file processorLduInterfaceTemplates.C.

Referenced by processorLduInterface::compressedSend().

Here is the caller graph for this function:

Foam::tmp< Foam::Field< Type > > receive ( const Pstream::commsTypes  commsType,
const label  size 
) const [inline]

Raw field receive function returning field.

Definition at line 105 of file processorLduInterfaceTemplates.C.

void compressedSend ( const Pstream::commsTypes  commsType,
const UList< Type > &  f 
) const [inline]

Raw field send function with data compression.

Definition at line 118 of file processorLduInterfaceTemplates.C.

References processorLduInterface::receive(), and tf.

Referenced by processorFvPatchField< Type >::evaluate(), and processorFvPatchField< Type >::initInterfaceMatrixUpdate().

Here is the call graph for this function:

Here is the caller graph for this function:

void compressedReceive ( const Pstream::commsTypes  commsType,
UList< Type > &  f 
) const [inline]

Raw field receive function with data compression.

Definition at line 188 of file processorLduInterfaceTemplates.C.

Foam::tmp< Foam::Field< Type > > compressedReceive ( const Pstream::commsTypes  commsType,
const label  size 
) const [inline]

Raw field receive function with data compression returning field.

Definition at line 239 of file processorLduInterfaceTemplates.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd