An abstract base class for processor coupled interfaces. More...
#include <OpenFOAM/processorLduInterface.H>
An abstract base class for processor coupled interfaces.
Definition at line 51 of file processorLduInterface.H.
Inheritance diagram for processorLduInterface:
Collaboration diagram for processorLduInterface: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.
| |
Construct null.
Definition at line 53 of file processorLduInterface.C.
| ~processorLduInterface | ( | ) | [virtual]
|
Definition at line 62 of file processorLduInterface.C.
| 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().
| 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 |
Raw send function.
Definition at line 34 of file processorLduInterfaceTemplates.C.
References UList< T >::begin(), UList< T >::byteSize(), Foam::exit(), Foam::FatalError, FatalErrorIn, and UList< T >::size().
| 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.