Concrete implementation of processor interface. Used to temporarily store settings. More...
#include <lduPrimitiveProcessorInterface.H>


Public Member Functions | |
| TypeNameNoDebug ("processorInterface") | |
| Runtime type information. | |
| void | operator= (const lduPrimitiveProcessorInterface &)=delete |
| No copy assignment. | |
| lduPrimitiveProcessorInterface (const labelUList &faceCells, const label myProcNo, const label neighbProcNo, const tensorField &forwardT, const int tag, const label comm=UPstream::worldComm) | |
| Construct from components. | |
| lduPrimitiveProcessorInterface (const lduPrimitiveProcessorInterface &) | |
| Copy constructor. | |
| virtual | ~lduPrimitiveProcessorInterface ()=default |
| Destructor. | |
| virtual const labelUList & | faceCells () const |
| Return faceCell addressing. | |
| virtual tmp< labelField > | interfaceInternalField (const labelUList &internalData) const |
| Return the values of the given internal data adjacent to the interface as a field. | |
| virtual tmp< labelField > | interfaceInternalField (const labelUList &internalData, const labelUList &faceCells) const |
| Return the values of the given internal data adjacent to the interface as a field using faceCells mapping. | |
| virtual void | initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF) const |
| Initialise neighbour field transfer. | |
| virtual void | initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF, const labelUList &faceCells) const |
| Initialise neighbour field transfer using faceCells. | |
| virtual tmp< labelField > | internalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF) const |
| Transfer and return internal field adjacent to the interface. | |
| virtual label | comm () const |
| Return communicator used for sending. | |
| virtual int | myProcNo () const |
| Return processor number (rank in communicator). | |
| virtual int | neighbProcNo () const |
| Return neighbour processor number (rank in communicator). | |
| virtual const tensorField & | forwardT () const |
| Return face transformation tensor. | |
| virtual int | tag () const |
| Return message tag used for sending. | |
| int & | tag () |
| Message tag used for sending (modifiable). | |
| Public Member Functions inherited from lduInterface | |
| TypeNameNoDebug ("lduInterface") | |
| Runtime type information. | |
| lduInterface () noexcept=default | |
| Default construct. | |
| virtual | ~lduInterface ()=default |
| Destructor. | |
| Public Member Functions inherited from processorLduInterface | |
| TypeNameNoDebug ("processorLduInterface") | |
| Runtime type information. | |
| processorLduInterface () noexcept=default | |
| Default construct. | |
| virtual | ~processorLduInterface ()=default |
| Destructor. | |
| template<class Type> | |
| void | send (const UPstream::commsTypes commsType, const UList< Type > &f) const |
| Raw send function. | |
| template<class Type> | |
| void | receive (const UPstream::commsTypes commsType, UList< Type > &f) const |
| Raw receive function. | |
| template<class Type> | |
| tmp< Field< Type > > | receive (const UPstream::commsTypes commsType, const label size) const |
| Raw receive function returning field. | |
| template<class Type> | |
| void | compressedSend (const UPstream::commsTypes commsType, const UList< Type > &f) const |
| Raw send function with data compression. | |
| template<class Type> | |
| void | compressedReceive (const UPstream::commsTypes commsType, UList< Type > &f) const |
| Raw receive function with data compression. | |
| template<class Type> | |
| tmp< Field< Type > > | compressedReceive (const UPstream::commsTypes commsType, const label size) const |
| Raw receive function with data compression returning field. | |
| template<class Type> | |
| Foam::tmp< Foam::Field< Type > > | receive (const UPstream::commsTypes commsType, const label size) const |
| template<class Type> | |
| Foam::tmp< Foam::Field< Type > > | compressedReceive (const UPstream::commsTypes commsType, const label size) const |
Concrete implementation of processor interface. Used to temporarily store settings.
Definition at line 49 of file lduPrimitiveProcessorInterface.H.
| lduPrimitiveProcessorInterface | ( | const labelUList & | faceCells, |
| const label | myProcNo, | ||
| const label | neighbProcNo, | ||
| const tensorField & | forwardT, | ||
| const int | tag, | ||
| const label | comm = UPstream::worldComm ) |
Construct from components.
Definition at line 48 of file lduPrimitiveProcessorInterface.C.
References comm(), faceCells(), forwardT(), myProcNo(), neighbProcNo(), and tag().
Referenced by lduPrimitiveProcessorInterface(), and operator=().


| lduPrimitiveProcessorInterface | ( | const lduPrimitiveProcessorInterface & | p | ) |
Copy constructor.
Definition at line 34 of file lduPrimitiveProcessorInterface.C.
References comm(), faceCells(), forwardT(), lduPrimitiveProcessorInterface(), myProcNo(), neighbProcNo(), p, and tag().

|
virtualdefault |
Destructor.
| TypeNameNoDebug | ( | "processorInterface" | ) |
Runtime type information.
|
delete |
No copy assignment.
References comm(), faceCells(), forwardT(), lduPrimitiveProcessorInterface(), myProcNo(), neighbProcNo(), tag(), and UPstream::worldComm.

|
inlinevirtual |
Return faceCell addressing.
Implements lduInterface.
Definition at line 140 of file lduPrimitiveProcessorInterface.H.
Referenced by initInternalFieldTransfer(), interfaceInternalField(), lduPrimitiveProcessorInterface(), lduPrimitiveProcessorInterface(), and operator=().

|
virtual |
Return the values of the given internal data adjacent to the interface as a field.
Implements lduInterface.
Definition at line 70 of file lduPrimitiveProcessorInterface.C.
References interfaceInternalField().
Referenced by initInternalFieldTransfer(), initInternalFieldTransfer(), and interfaceInternalField().


|
virtual |
Return the values of the given internal data adjacent to the interface as a field using faceCells mapping.
Implements lduInterface.
Definition at line 80 of file lduPrimitiveProcessorInterface.C.
References faceCells(), fld(), forAll, and tmp< T >::New().

|
virtual |
Initialise neighbour field transfer.
Reimplemented from lduInterface.
Definition at line 97 of file lduPrimitiveProcessorInterface.C.
References interfaceInternalField(), and processorLduInterface::send().

|
virtual |
Initialise neighbour field transfer using faceCells.
Reimplemented from lduInterface.
Definition at line 107 of file lduPrimitiveProcessorInterface.C.
References faceCells(), interfaceInternalField(), and processorLduInterface::send().

|
virtual |
Transfer and return internal field adjacent to the interface.
Implements lduInterface.
Definition at line 123 of file lduPrimitiveProcessorInterface.C.
References processorLduInterface::receive().

|
inlinevirtual |
Return communicator used for sending.
Implements processorLduInterface.
Definition at line 201 of file lduPrimitiveProcessorInterface.H.
Referenced by lduPrimitiveProcessorInterface(), lduPrimitiveProcessorInterface(), and operator=().

|
inlinevirtual |
Return processor number (rank in communicator).
Implements processorLduInterface.
Definition at line 209 of file lduPrimitiveProcessorInterface.H.
Referenced by lduPrimitiveProcessorInterface(), lduPrimitiveProcessorInterface(), and operator=().

|
inlinevirtual |
Return neighbour processor number (rank in communicator).
Implements processorLduInterface.
Definition at line 217 of file lduPrimitiveProcessorInterface.H.
Referenced by lduPrimitiveProcessorInterface(), lduPrimitiveProcessorInterface(), and operator=().

|
inlinevirtual |
Return face transformation tensor.
Implements processorLduInterface.
Definition at line 225 of file lduPrimitiveProcessorInterface.H.
Referenced by lduPrimitiveProcessorInterface(), lduPrimitiveProcessorInterface(), and operator=().

|
inlinevirtual |
Return message tag used for sending.
Implements processorLduInterface.
Definition at line 233 of file lduPrimitiveProcessorInterface.H.
Referenced by lduPrimitiveProcessorInterface(), lduPrimitiveProcessorInterface(), and operator=().

|
inline |
Message tag used for sending (modifiable).
Definition at line 244 of file lduPrimitiveProcessorInterface.H.