Public Member Functions | List of all members
cyclicAMIGAMGInterface Class Reference

GAMG agglomerated cyclic AMI interface. More...

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

Public Member Functions

 TypeName ("cyclicAMI")
 
 cyclicAMIGAMGInterface (const label index, const lduInterfacePtrsList &coarseInterfaces, const lduInterface &fineInterface, const labelField &restrictAddressing, const labelField &neighbourRestrictAddressing, const label fineLevelIndex, const label coarseComm)
 
virtual ~cyclicAMIGAMGInterface ()
 
virtual tmp< labelFieldinternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF) const
 
virtual label neighbPatchID () const
 
virtual bool owner () const
 
virtual const cyclicAMIGAMGInterfaceneighbPatch () const
 
virtual const AMIPatchToPatchInterpolationAMI () const
 
virtual const tensorFieldforwardT () const
 
virtual const tensorFieldreverseT () const
 
virtual void write (Ostream &) 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 cyclicAMILduInterface
 TypeName ("cyclicAMILduInterface")
 
 cyclicAMILduInterface ()=default
 
virtual ~cyclicAMILduInterface ()=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 AMI interface.

Source files

Definition at line 47 of file cyclicAMIGAMGInterface.H.

Constructor & Destructor Documentation

◆ cyclicAMIGAMGInterface()

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

Definition at line 44 of file cyclicAMIGAMGInterface.C.

References DynamicList::append(), and List::transfer().

Here is the call graph for this function:

◆ ~cyclicAMIGAMGInterface()

~cyclicAMIGAMGInterface ( )
virtual

Definition at line 155 of file cyclicAMIGAMGInterface.C.

Member Function Documentation

◆ TypeName()

TypeName ( "cyclicAMI"  )

◆ internalFieldTransfer()

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

Implements lduInterface.

Definition at line 162 of file cyclicAMIGAMGInterface.C.

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

Here is the call graph for this function:

◆ neighbPatchID()

virtual label neighbPatchID ( ) const
inlinevirtual

Implements cyclicAMILduInterface.

Definition at line 112 of file cyclicAMIGAMGInterface.H.

References cyclicAMILduInterface::neighbPatchID().

Referenced by cyclicAMIGAMGInterface::neighbPatch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ owner()

virtual bool owner ( ) const
inlinevirtual

Implements cyclicAMILduInterface.

Definition at line 117 of file cyclicAMIGAMGInterface.H.

References cyclicAMILduInterface::owner().

Here is the call graph for this function:

◆ neighbPatch()

virtual const cyclicAMIGAMGInterface& neighbPatch ( ) const
inlinevirtual

Implements cyclicAMILduInterface.

Definition at line 122 of file cyclicAMIGAMGInterface.H.

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

Here is the call graph for this function:

◆ AMI()

virtual const AMIPatchToPatchInterpolation& AMI ( ) const
inlinevirtual

Implements cyclicAMILduInterface.

Definition at line 130 of file cyclicAMIGAMGInterface.H.

◆ forwardT()

virtual const tensorField& forwardT ( ) const
inlinevirtual

Implements cyclicAMILduInterface.

Definition at line 136 of file cyclicAMIGAMGInterface.H.

References cyclicAMILduInterface::forwardT().

Referenced by cyclicAMIGAMGInterfaceField::forwardT().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reverseT()

virtual const tensorField& reverseT ( ) const
inlinevirtual

Implements cyclicAMILduInterface.

Definition at line 142 of file cyclicAMIGAMGInterface.H.

References cyclicAMILduInterface::reverseT().

Referenced by cyclicAMIGAMGInterfaceField::reverseT().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write()

virtual void write ( Ostream ) const
inlinevirtual

Implements GAMGInterface.

Definition at line 151 of file cyclicAMIGAMGInterface.H.

References NotImplemented.


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