Public Member Functions | List of all members
cyclicGAMGInterface Class Reference

GAMG agglomerated cyclic interface. More...

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

Public Member Functions

 TypeName ("cyclic")
 
 cyclicGAMGInterface (const label index, const lduInterfacePtrsList &coarseInterfaces, const lduInterface &fineInterface, const labelField &restrictAddressing, const labelField &neighbourRestrictAddressing, const label fineLevelIndex, const label coarseComm)
 
 cyclicGAMGInterface (const label index, const lduInterfacePtrsList &coarseInterfaces, Istream &is)
 
virtual ~cyclicGAMGInterface ()=default
 
virtual tmp< labelFieldinternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF) const
 
virtual label neighbPatchID () const
 
virtual bool owner () const
 
virtual const cyclicGAMGInterfaceneighbPatch () const
 
virtual const tensorFieldforwardT () const
 
virtual const tensorFieldreverseT () 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
 
virtual void initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF, const labelUList &faceCells) const
 
- Public Member Functions inherited from cyclicLduInterface
 TypeName ("cyclicLduInterface")
 
 cyclicLduInterface ()=default
 
virtual ~cyclicLduInterface ()=default
 

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 cyclic interface.

Source files

Definition at line 48 of file cyclicGAMGInterface.H.

Constructor & Destructor Documentation

◆ cyclicGAMGInterface() [1/2]

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

Definition at line 66 of file cyclicGAMGInterface.C.

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

Here is the call graph for this function:

◆ cyclicGAMGInterface() [2/2]

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

Definition at line 144 of file cyclicGAMGInterface.C.

◆ ~cyclicGAMGInterface()

virtual ~cyclicGAMGInterface ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "cyclic"  )

◆ internalFieldTransfer()

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

Implements lduInterface.

Definition at line 161 of file cyclicGAMGInterface.C.

References GAMGInterface::faceCells(), forAll, and tmp::ref().

Here is the call graph for this function:

◆ neighbPatchID()

virtual label neighbPatchID ( ) const
inlinevirtual

Implements cyclicLduInterface.

Definition at line 126 of file cyclicGAMGInterface.H.

Referenced by cyclicGAMGInterface::neighbPatch().

Here is the caller graph for this function:

◆ owner()

virtual bool owner ( ) const
inlinevirtual

Implements cyclicLduInterface.

Definition at line 131 of file cyclicGAMGInterface.H.

◆ neighbPatch()

virtual const cyclicGAMGInterface& neighbPatch ( ) const
inlinevirtual

Implements cyclicLduInterface.

Definition at line 136 of file cyclicGAMGInterface.H.

References GAMGInterface::coarseInterfaces_, and cyclicGAMGInterface::neighbPatchID().

Here is the call graph for this function:

◆ forwardT()

virtual const tensorField& forwardT ( ) const
inlinevirtual

Implements cyclicLduInterface.

Definition at line 145 of file cyclicGAMGInterface.H.

Referenced by cyclicGAMGInterfaceField::forwardT().

Here is the caller graph for this function:

◆ reverseT()

virtual const tensorField& reverseT ( ) const
inlinevirtual

Implements cyclicLduInterface.

Definition at line 151 of file cyclicGAMGInterface.H.

Referenced by cyclicGAMGInterfaceField::reverseT().

Here is the caller graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Implements GAMGInterface.

Definition at line 181 of file cyclicGAMGInterface.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: