Concrete implementation of processor interface. Used to temporarily store settings. More...
Public Member Functions | |
| TypeName ("calculatedProcessor") | |
| Runtime type information. More... | |
| lduPrimitiveProcessorInterface (const labelUList &faceCells, const label myProcNo, const label neighbProcNo, const tensorField &forwardT, const int tag, const label comm=UPstream::worldComm) | |
| Construct from components. More... | |
| virtual | ~lduPrimitiveProcessorInterface ()=default |
| Destructor. More... | |
| virtual const labelUList & | faceCells () const |
| Return faceCell addressing. More... | |
| virtual tmp< labelField > | interfaceInternalField (const labelUList &internalData) const |
| Return the values of the given internal data adjacent to. More... | |
| virtual void | initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF) const |
| Initialise neighbour field transfer. More... | |
| virtual tmp< labelField > | internalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF) const |
| Transfer and return internal field adjacent to the interface. More... | |
| virtual label | comm () const |
| Return communicator used for sending. More... | |
| virtual int | myProcNo () const |
| Return processor number (rank in communicator) More... | |
| virtual int | neighbProcNo () const |
| Return neighbour processor number (rank in communicator) More... | |
| virtual const tensorField & | forwardT () const |
| Return face transformation tensor. More... | |
| virtual int | tag () const |
| Return message tag used for sending. More... | |
| int & | tag () |
| Return message tag used for sending. More... | |
Public Member Functions inherited from lduInterface | |
| TypeName ("lduInterface") | |
| Runtime type information. More... | |
| lduInterface ()=default | |
| Construct null. More... | |
| virtual | ~lduInterface ()=default |
| Destructor. More... | |
Public Member Functions inherited from processorLduInterface | |
| TypeName ("processorLduInterface") | |
| Runtime type information. More... | |
| processorLduInterface ()=default | |
| Construct null. More... | |
| virtual | ~processorLduInterface ()=default |
| Destructor. More... | |
| template<class Type > | |
| void | send (const Pstream::commsTypes commsType, const UList< Type > &f) const |
| Raw send function. More... | |
| template<class Type > | |
| void | receive (const Pstream::commsTypes commsType, UList< Type > &f) const |
| Raw receive function. More... | |
| template<class Type > | |
| tmp< Field< Type > > | receive (const Pstream::commsTypes commsType, const label size) const |
| Raw receive function returning field. More... | |
| template<class Type > | |
| void | compressedSend (const Pstream::commsTypes commsType, const UList< Type > &f) const |
| Raw send function with data compression. More... | |
| template<class Type > | |
| void | compressedReceive (const Pstream::commsTypes commsType, UList< Type > &f) const |
| Raw receive function with data compression. More... | |
| template<class Type > | |
| tmp< Field< Type > > | compressedReceive (const Pstream::commsTypes commsType, const label size) const |
| Raw receive function with data compression returning field. More... | |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | receive (const Pstream::commsTypes commsType, const label size) const |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | compressedReceive (const Pstream::commsTypes commsType, const label size) const |
Concrete implementation of processor interface. Used to temporarily store settings.
Definition at line 53 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 42 of file lduPrimitiveProcessorInterface.C.
|
virtualdefault |
Destructor.
| TypeName | ( | "calculatedProcessor" | ) |
Runtime type information.
|
inlinevirtual |
Return faceCell addressing.
Implements lduInterface.
Definition at line 119 of file lduPrimitiveProcessorInterface.H.
Referenced by dynamicOversetFvMesh::updateAddressing().
|
virtual |
Return the values of the given internal data adjacent to.
the interface as a field
Implements lduInterface.
Definition at line 64 of file lduPrimitiveProcessorInterface.C.
References fld, forAll, and tmp< T >::ref().
|
virtual |
Initialise neighbour field transfer.
Reimplemented from lduInterface.
Definition at line 79 of file lduPrimitiveProcessorInterface.C.
|
virtual |
Transfer and return internal field adjacent to the interface.
Implements lduInterface.
Definition at line 90 of file lduPrimitiveProcessorInterface.C.
|
inlinevirtual |
Return communicator used for sending.
Implements processorLduInterface.
Definition at line 152 of file lduPrimitiveProcessorInterface.H.
Referenced by calculatedProcessorFvPatchField< Type >::comm().
|
inlinevirtual |
Return processor number (rank in communicator)
Implements processorLduInterface.
Definition at line 158 of file lduPrimitiveProcessorInterface.H.
Referenced by calculatedProcessorFvPatchField< Type >::myProcNo(), and calculatedProcessorFvPatchField< Type >::neighbProcNo().
|
inlinevirtual |
Return neighbour processor number (rank in communicator)
Implements processorLduInterface.
Definition at line 164 of file lduPrimitiveProcessorInterface.H.
|
inlinevirtual |
Return face transformation tensor.
Implements processorLduInterface.
Definition at line 170 of file lduPrimitiveProcessorInterface.H.
Referenced by calculatedProcessorFvPatchField< Type >::forwardT().
|
inlinevirtual |
Return message tag used for sending.
Implements processorLduInterface.
Definition at line 176 of file lduPrimitiveProcessorInterface.H.
|
inline |
Return message tag used for sending.
Definition at line 185 of file lduPrimitiveProcessorInterface.H.