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

processorLduInterface Class Reference

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

#include <OpenFOAM/processorLduInterface.H>


Detailed Description

An abstract base class for processor coupled interfaces.

Source files

Definition at line 51 of file processorLduInterface.H.

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.

Constructor & Destructor Documentation

Construct null.

Definition at line 53 of file processorLduInterface.C.

~processorLduInterface (  ) [virtual]

Definition at line 62 of file processorLduInterface.C.


Member Function Documentation

TypeName ( "processorLduInterface"    )

Runtime type information.

virtual int myProcNo (  ) const [pure virtual]
virtual int neighbProcNo (  ) const [pure virtual]

Return neigbour processor number.

Implemented in processorFvPatch, and processorGAMGInterface.

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

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

Return face transformation tensor.

Implemented in processorFvPatch, and processorGAMGInterface.

Referenced by processorGAMGInterface::forwardT().

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

Raw field receive function.

Definition at line 83 of file processorLduInterfaceTemplates.C.

References UList< T >::begin(), UList< T >::byteSize(), Foam::exit(), Foam::FatalError, and FatalErrorIn.

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

Raw field receive function returning field.

Definition at line 113 of file processorLduInterfaceTemplates.C.

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

Raw field send function with data compression.

Definition at line 126 of file processorLduInterfaceTemplates.C.

References UList< T >::begin(), Foam::exit(), Foam::FatalError, FatalErrorIn, and UList< T >::size().

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

Raw field receive function with data compression.

Definition at line 196 of file processorLduInterfaceTemplates.C.

References UList< T >::begin(), Foam::exit(), f(), Foam::FatalError, FatalErrorIn, and UList< T >::size().

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

Raw field receive function with data compression returning field.

Definition at line 247 of file processorLduInterfaceTemplates.C.


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