Public Member Functions | List of all members
calculatedProcessorGAMGInterface Class Reference

GAMG agglomerated processor interface. More...

Inheritance diagram for calculatedProcessorGAMGInterface:
Inheritance graph
[legend]
Collaboration diagram for calculatedProcessorGAMGInterface:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("calculatedProcessor")
 
 calculatedProcessorGAMGInterface (const label index, const lduInterfacePtrsList &coarseInterfaces, const lduInterface &fineInterface, const labelField &restrictAddressing, const labelField &neighbourRestrictAddressing, const label fineLevelIndex, const label coarseComm)
 
 calculatedProcessorGAMGInterface (const label index, const lduInterfacePtrsList &coarseInterfaces, const labelUList &faceCells, const labelUList &faceRestrictAddresssing, const label coarseComm, const label myProcNo, const label neighbProcNo, const tensorField &forwardT, const int tag)
 
 calculatedProcessorGAMGInterface (const label index, const lduInterfacePtrsList &coarseInterfaces, Istream &is)
 
virtual ~calculatedProcessorGAMGInterface ()=default
 
virtual void initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF) const
 
virtual tmp< labelFieldinternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF) const
 
virtual tmp< labelFieldinternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF, const labelUList &faceCells) const
 
virtual label comm () const
 
virtual int myProcNo () const
 
virtual int neighbProcNo () const
 
virtual const tensorFieldforwardT () const
 
virtual int tag () const
 
virtual void write (Ostream &os) const
 
- Public Member Functions inherited from GAMGInterface
 TypeName ("GAMGInterface")
 
 declareRunTimeSelectionTable (autoPtr, GAMGInterface, lduInterface,(const label index, const lduInterfacePtrsList &coarseInterfaces, const lduInterface &fineInterface, const labelField &localRestrictAddressing, const labelField &neighbourRestrictAddressing, const label fineLevelIndex, const label coarseComm),(index, coarseInterfaces, fineInterface, localRestrictAddressing, neighbourRestrictAddressing, fineLevelIndex, coarseComm))
 
 declareRunTimeSelectionTable (autoPtr, GAMGInterface, Istream,(const label index, const lduInterfacePtrsList &coarseInterfaces, Istream &is),(index, coarseInterfaces, is))
 
 GAMGInterface (const label index, const lduInterfacePtrsList &coarseInterfaces)
 
 GAMGInterface (const label index, const lduInterfacePtrsList &coarseInterfaces, const labelUList &faceCells, const labelUList &faceRestrictAddressing)
 
 GAMGInterface (const label index, const lduInterfacePtrsList &coarseInterfaces, Istream &is)
 
virtual label size () const
 
virtual label index () const
 
virtual const lduInterfacePtrsListcoarseInterfaces () const
 
virtual const labelUListfaceCells () const
 
virtual const labelListfaceRestrictAddressing () const
 
virtual labelListfaceRestrictAddressing ()
 
template<class Type >
tmp< Field< Type > > interfaceInternalField (const UList< Type > &internalData) const
 
template<class Type >
tmp< Field< Type > > interfaceInternalField (const UList< Type > &internalData, const labelUList &faceCells) const
 
template<class Type >
void interfaceInternalField (const UList< Type > &internalData, List< Type > &) const
 
virtual tmp< labelFieldinterfaceInternalField (const labelUList &internalData) const
 
virtual tmp< labelFieldinterfaceInternalField (const labelUList &internalData, const labelUList &faceCells) const
 
void combine (const GAMGInterface &)
 
virtual tmp< scalarFieldagglomerateCoeffs (const scalarField &fineCoeffs) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > interfaceInternalField (const UList< Type > &iF) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > interfaceInternalField (const UList< Type > &iF, const labelUList &faceCells) const
 
- Public Member Functions inherited from lduInterface
 TypeName ("lduInterface")
 
 lduInterface ()=default
 
virtual ~lduInterface ()=default
 
virtual void initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF, const labelUList &faceCells) const
 
- Public Member Functions inherited from processorLduInterface
 TypeName ("processorLduInterface")
 
 processorLduInterface ()=default
 
virtual ~processorLduInterface ()=default
 
template<class Type >
void send (const Pstream::commsTypes commsType, const UList< Type > &f) const
 
template<class Type >
void receive (const Pstream::commsTypes commsType, UList< Type > &f) const
 
template<class Type >
tmp< Field< Type > > receive (const Pstream::commsTypes commsType, const label size) const
 
template<class Type >
void compressedSend (const Pstream::commsTypes commsType, const UList< Type > &f) const
 
template<class Type >
void compressedReceive (const Pstream::commsTypes commsType, UList< Type > &f) const
 
template<class Type >
tmp< Field< Type > > compressedReceive (const Pstream::commsTypes commsType, const label size) const
 
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
 

Additional Inherited Members

- Static Public Member Functions inherited from GAMGInterface
static autoPtr< GAMGInterfaceNew (const label index, const lduInterfacePtrsList &coarseInterfaces, const lduInterface &fineInterface, const labelField &localRestrictAddressing, const labelField &neighbourRestrictAddressing, const label fineLevelIndex, const label coarseComm)
 
static autoPtr< GAMGInterfaceNew (const word &coupleType, const label index, const lduInterfacePtrsList &coarseInterfaces, Istream &is)
 
- Protected Member Functions inherited from GAMGInterface
 GAMGInterface (const GAMGInterface &)=delete
 
void operator= (const GAMGInterface &)=delete
 
- Protected Attributes inherited from GAMGInterface
const label index_
 
const lduInterfacePtrsListcoarseInterfaces_
 
labelList faceCells_
 
labelList faceRestrictAddressing_
 

Detailed Description

GAMG agglomerated processor interface.

Source files

Definition at line 47 of file calculatedProcessorGAMGInterface.H.

Constructor & Destructor Documentation

◆ calculatedProcessorGAMGInterface() [1/3]

calculatedProcessorGAMGInterface ( const label  index,
const lduInterfacePtrsList coarseInterfaces,
const lduInterface fineInterface,
const labelField restrictAddressing,
const labelField neighbourRestrictAddressing,
const label  fineLevelIndex,
const label  coarseComm 
)

Definition at line 48 of file calculatedProcessorGAMGInterface.C.

References DynamicList::append(), HashTable::cfind(), forAll, and HashTable::insert().

Here is the call graph for this function:

◆ calculatedProcessorGAMGInterface() [2/3]

calculatedProcessorGAMGInterface ( const label  index,
const lduInterfacePtrsList coarseInterfaces,
const labelUList faceCells,
const labelUList faceRestrictAddresssing,
const label  coarseComm,
const label  myProcNo,
const label  neighbProcNo,
const tensorField forwardT,
const int  tag 
)

Definition at line 131 of file calculatedProcessorGAMGInterface.C.

◆ calculatedProcessorGAMGInterface() [3/3]

calculatedProcessorGAMGInterface ( const label  index,
const lduInterfacePtrsList coarseInterfaces,
Istream is 
)

Definition at line 159 of file calculatedProcessorGAMGInterface.C.

◆ ~calculatedProcessorGAMGInterface()

virtual ~calculatedProcessorGAMGInterface ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "calculatedProcessor"  )

◆ initInternalFieldTransfer()

void initInternalFieldTransfer ( const Pstream::commsTypes  commsType,
const labelUList iF 
) const
virtual

Reimplemented from lduInterface.

Definition at line 177 of file calculatedProcessorGAMGInterface.C.

◆ internalFieldTransfer() [1/2]

Foam::tmp< Foam::labelField > internalFieldTransfer ( const Pstream::commsTypes  commsType,
const labelUList iF 
) const
virtual

Implements lduInterface.

Definition at line 188 of file calculatedProcessorGAMGInterface.C.

◆ internalFieldTransfer() [2/2]

Foam::tmp< Foam::labelField > internalFieldTransfer ( const Pstream::commsTypes  commsType,
const labelUList iF,
const labelUList faceCells 
) const
virtual

Definition at line 201 of file calculatedProcessorGAMGInterface.C.

References Foam::New(), NotImplemented, and Foam::Zero.

Here is the call graph for this function:

◆ comm()

virtual label comm ( ) const
inlinevirtual

Implements processorLduInterface.

Definition at line 161 of file calculatedProcessorGAMGInterface.H.

Referenced by calculatedProcessorGAMGInterfaceField::comm().

Here is the caller graph for this function:

◆ myProcNo()

virtual int myProcNo ( ) const
inlinevirtual

Implements processorLduInterface.

Definition at line 167 of file calculatedProcessorGAMGInterface.H.

Referenced by calculatedProcessorGAMGInterfaceField::myProcNo().

Here is the caller graph for this function:

◆ neighbProcNo()

virtual int neighbProcNo ( ) const
inlinevirtual

Implements processorLduInterface.

Definition at line 173 of file calculatedProcessorGAMGInterface.H.

Referenced by calculatedProcessorGAMGInterfaceField::neighbProcNo().

Here is the caller graph for this function:

◆ forwardT()

virtual const tensorField& forwardT ( ) const
inlinevirtual

Implements processorLduInterface.

Definition at line 179 of file calculatedProcessorGAMGInterface.H.

Referenced by calculatedProcessorGAMGInterfaceField::forwardT().

Here is the caller graph for this function:

◆ tag()

virtual int tag ( ) const
inlinevirtual

Implements processorLduInterface.

Definition at line 185 of file calculatedProcessorGAMGInterface.H.

◆ write()

void write ( Ostream os) const
virtual

Implements GAMGInterface.

Definition at line 213 of file calculatedProcessorGAMGInterface.C.

References os(), token::SPACE, and GAMGInterface::write().

Here is the call graph for this function:

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