GAMG agglomerated processor interface. More...
#include <OpenFOAM/processorGAMGInterface.H>
GAMG agglomerated processor interface.
Definition at line 51 of file processorGAMGInterface.H.
Public Member Functions | |
TypeName ("processor") | |
Runtime type information. | |
processorGAMGInterface (const lduInterface &fineInterface, const labelField &restrictAddressing, const labelField &neighbourRestrictAddressing) | |
Construct from fine-level interface,. | |
virtual | ~processorGAMGInterface () |
virtual void | initTransfer (const Pstream::commsTypes commsType, const unallocLabelList &interfaceData) const |
Initialise interface data transfer. | |
virtual tmp< labelField > | transfer (const Pstream::commsTypes commsType, const unallocLabelList &interfaceData) const |
Transfer and return neighbour field. | |
virtual void | initInternalFieldTransfer (const Pstream::commsTypes commsType, const unallocLabelList &iF) const |
Initialise neighbour field transfer. | |
virtual tmp< labelField > | internalFieldTransfer (const Pstream::commsTypes commsType, const unallocLabelList &iF) const |
Transfer and return internal field adjacent to the interface. | |
virtual int | myProcNo () const |
Processor interface functions. | |
virtual int | neighbProcNo () const |
Return neigbour processor number. | |
virtual const tensorField & | forwardT () const |
Return face transformation tensor. | |
![]() | |
TypeName ("GAMGInterface") | |
Runtime type information. | |
declareRunTimeSelectionTable (autoPtr, GAMGInterface, lduInterface,(const lduInterface &fineInterface, const labelField &localRestrictAddressing, const labelField &neighbourRestrictAddressing),(fineInterface, localRestrictAddressing, neighbourRestrictAddressing)) | |
GAMGInterface (const lduInterface &, const labelField &, const labelField &) | |
Construct from fine-level interface,. | |
virtual label | size () const |
Return size. | |
virtual const unallocLabelList & | faceCells () const |
Return faceCell addressing. | |
virtual const labelList & | faceRestrictAddressing () const |
Return face restrict addressing. | |
virtual labelList & | faceRestrictAddressing () |
Return non-const access to face restrict addressing. | |
template<class Type > | |
tmp< Field< Type > > | interfaceInternalField (const UList< Type > &internalData) const |
Return the interface internal field of the given field. | |
virtual tmp< labelField > | interfaceInternalField (const unallocLabelList &internalData) const |
Return the values of the given internal data adjacent to. | |
void | combine (const GAMGInterface &) |
Merge the next level with this level. | |
virtual tmp< scalarField > | agglomerateCoeffs (const scalarField &fineCoeffs) const |
Agglomerating the given fine-level coefficients and return. | |
![]() | |
TypeName ("lduInterface") | |
Runtime type information. | |
lduInterface () | |
Construct null. | |
virtual | ~lduInterface () |
![]() | |
TypeName ("processorLduInterface") | |
Runtime type information. | |
processorLduInterface () | |
Construct null. | |
virtual | ~processorLduInterface () |
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. |
Additional Inherited Members | |
![]() | |
static autoPtr< GAMGInterface > | New (const lduInterface &fineInterface, const labelField &localRestrictAddressing, const labelField &neighbourRestrictAddressing) |
Return a pointer to a new interface created on freestore given. | |
![]() | |
labelField | faceCells_ |
Face-cell addressing. | |
labelField | faceRestrictAddressing_ |
Face restrict addressing. |
processorGAMGInterface | ( | const lduInterface & | fineInterface, |
const labelField & | restrictAddressing, | ||
const labelField & | neighbourRestrictAddressing | ||
) |
Construct from fine-level interface,.
local and neighbour restrict addressing
Definition at line 46 of file processorGAMGInterface.C.
References LList< SLListBase, T >::append(), LList< LListBase, T >::append(), SLListBase::begin(), SLListBase::end(), forAll, HashTable< T, Key, Hash >::insert(), and List< T >::size().
|
virtual |
Definition at line 240 of file processorGAMGInterface.C.
TypeName | ( | "processor" | ) |
Runtime type information.
|
virtual |
Initialise interface data transfer.
Reimplemented from lduInterface.
Definition at line 247 of file processorGAMGInterface.C.
|
virtual |
Transfer and return neighbour field.
Implements lduInterface.
Definition at line 257 of file processorGAMGInterface.C.
|
virtual |
Initialise neighbour field transfer.
Reimplemented from lduInterface.
Definition at line 267 of file processorGAMGInterface.C.
|
virtual |
Transfer and return internal field adjacent to the interface.
Implements lduInterface.
Definition at line 277 of file processorGAMGInterface.C.
|
inlinevirtual |
Processor interface functions.
Return processor number
Implements processorLduInterface.
Definition at line 130 of file processorGAMGInterface.H.
References processorLduInterface::myProcNo().
Referenced by processorGAMGInterfaceField::myProcNo().
|
inlinevirtual |
Return neigbour processor number.
Implements processorLduInterface.
Definition at line 136 of file processorGAMGInterface.H.
References processorLduInterface::neighbProcNo().
Referenced by processorGAMGInterfaceField::neighbProcNo().
|
inlinevirtual |
Return face transformation tensor.
Implements processorLduInterface.
Definition at line 142 of file processorGAMGInterface.H.
References processorLduInterface::forwardT().
Referenced by processorGAMGInterfaceField::forwardT().