OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

GAMGInterface Class Reference

Inheritance diagram for GAMGInterface:

Inheritance graph
[legend]
Collaboration diagram for GAMGInterface:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 59 of file GAMGInterface.H.


Public Member Functions

 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.

Static Public Member Functions

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

labelField faceCells_
 Face-cell addressing.
labelField faceRestrictAddressing_
 Face restrict addressing.

Constructor & Destructor Documentation

GAMGInterface ( const lduInterface &  ,
const labelField &  ,
const labelField &   
) [inline]

Construct from fine-level interface,.

local and neighbour restrict addressing

Definition at line 133 of file GAMGInterface.H.

References GAMGInterface::faceCells_, and UList::size().

Here is the call graph for this function:


Member Function Documentation

TypeName ( "GAMGInterface"   ) 

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
GAMGInterface  ,
lduInterface  ,
(const lduInterface &fineInterface, const labelField &localRestrictAddressing, const labelField &neighbourRestrictAddressing)  ,
(fineInterface, localRestrictAddressing, neighbourRestrictAddressing)   
)

static autoPtr<GAMGInterface> New ( const lduInterface &  fineInterface,
const labelField &  localRestrictAddressing,
const labelField &  neighbourRestrictAddressing 
) [static]

Return a pointer to a new interface created on freestore given.

the fine interface

virtual label size (  )  const [inline, virtual]

Return size.

Definition at line 146 of file GAMGInterface.H.

References GAMGInterface::faceRestrictAddressing_.

virtual const unallocLabelList& faceCells (  )  const [inline, virtual]

Return faceCell addressing.

Implements lduInterface.

Definition at line 152 of file GAMGInterface.H.

References GAMGInterface::faceRestrictAddressing_.

virtual const labelList& faceRestrictAddressing (  )  const [inline, virtual]

Return face restrict addressing.

Definition at line 158 of file GAMGInterface.H.

virtual labelList& faceRestrictAddressing (  )  [inline, virtual]

Return non-const access to face restrict addressing.

Definition at line 164 of file GAMGInterface.H.

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 [virtual]

Return the values of the given internal data adjacent to.

the interface as a field

Implements lduInterface.

void combine ( const GAMGInterface &   ) 

Merge the next level with this level.

combining the face-restrict addressing and copying the face-cell addressing

virtual tmp<scalarField> agglomerateCoeffs ( const scalarField &  fineCoeffs  )  const [virtual]

Agglomerating the given fine-level coefficients and return.


Member Data Documentation

labelField faceCells_ [protected]

Face-cell addressing.

Definition at line 69 of file GAMGInterface.H.

Referenced by GAMGInterface::GAMGInterface().

Face restrict addressing.

Definition at line 72 of file GAMGInterface.H.

Referenced by GAMGInterface::faceCells(), and GAMGInterface::size().


The documentation for this class was generated from the following file:
  • src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/GAMGInterface/GAMGInterface.H
Copyright © 2000-2007 OpenCFD Ltd