FreeFOAM The Cross-Platform CFD Toolkit
cyclicGAMGInterface Class Reference

GAMG agglomerated cyclic interface. More...

#include <OpenFOAM/cyclicGAMGInterface.H>


Detailed Description

+ Inheritance diagram for cyclicGAMGInterface:
+ Collaboration diagram for cyclicGAMGInterface:

List of all members.

Public Member Functions

 TypeName ("cyclic")
 Runtime type information.
 cyclicGAMGInterface (const lduInterface &fineInterface, const labelField &restrictAddressing, const labelField &neighbourRestrictAddressing)
 Construct from fine level interface,.
virtual ~cyclicGAMGInterface ()
virtual tmp< labelField > transfer (const Pstream::commsTypes commsType, const unallocLabelList &interfaceData) const
 Transfer and return neighbour field.
virtual tmp< labelField > internalFieldTransfer (const Pstream::commsTypes commsType, const unallocLabelList &iF) const
 Transfer and return internal field adjacent to the interface.
virtual const tensorField & forwardT () const
 Cyclic interface functions.
virtual const tensorField & reverseT () const
 Return neighbour-cell transformation tensor.
- Public Member Functions inherited from GAMGInterface
 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.
- Public Member Functions inherited from lduInterface
 TypeName ("lduInterface")
 Runtime type information.
 lduInterface ()
 Construct null.
virtual ~lduInterface ()
virtual void initTransfer (const Pstream::commsTypes commsType, const unallocLabelList &interfaceData) const
 Initialise interface data transfer.
virtual void initInternalFieldTransfer (const Pstream::commsTypes commsType, const unallocLabelList &iF) const
 Initialise transfer of internal field adjacent to the interface.
- Public Member Functions inherited from cyclicLduInterface
 TypeName ("cyclicLduInterface")
 Runtime type information.
virtual ~cyclicLduInterface ()

Additional Inherited Members

- Static Public Member Functions inherited from GAMGInterface
static autoPtr< GAMGInterface > New (const lduInterface &fineInterface, const labelField &localRestrictAddressing, const labelField &neighbourRestrictAddressing)
 Return a pointer to a new interface created on freestore given.
- Protected Attributes inherited from GAMGInterface
labelField faceCells_
 Face-cell addressing.
labelField faceRestrictAddressing_
 Face restrict addressing.

Constructor & Destructor Documentation

cyclicGAMGInterface ( 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 cyclicGAMGInterface.C.

References LList< SLListBase, T >::append(), LList< LListBase, T >::append(), SLListBase::begin(), SLListBase::end(), forAll, HashTable< T, Key, Hash >::insert(), and List< T >::size().

~cyclicGAMGInterface ( )
virtual

Definition at line 218 of file cyclicGAMGInterface.C.


Member Function Documentation

TypeName ( "cyclic"  )

Runtime type information.

Foam::tmp< Foam::labelField > transfer ( const Pstream::commsTypes  commsType,
const unallocLabelList &  interfaceData 
) const
virtual

Transfer and return neighbour field.

Implements lduInterface.

Definition at line 225 of file cyclicGAMGInterface.C.

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

Transfer and return internal field adjacent to the interface.

Implements lduInterface.

Definition at line 246 of file cyclicGAMGInterface.C.

virtual const tensorField& forwardT ( ) const
inlinevirtual

Cyclic interface functions.

Return face transformation tensor

Implements cyclicLduInterface.

Definition at line 116 of file cyclicGAMGInterface.H.

References cyclicLduInterface::forwardT().

Referenced by cyclicGAMGInterfaceField::forwardT().

virtual const tensorField& reverseT ( ) const
inlinevirtual

Return neighbour-cell transformation tensor.

Implements cyclicLduInterface.

Definition at line 122 of file cyclicGAMGInterface.H.

References cyclicLduInterface::reverseT().

Referenced by cyclicGAMGInterfaceField::reverseT().


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