FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

Geometric agglomerated algebraic multigrid preconditioner. More...

#include <OpenFOAM/GAMGPreconditioner.H>


Detailed Description

Geometric agglomerated algebraic multigrid preconditioner.

See also:
GAMGSolver for more details.
Source files

Definition at line 52 of file GAMGPreconditioner.H.

Inheritance diagram for GAMGPreconditioner:
Collaboration diagram for GAMGPreconditioner:

List of all members.

Public Member Functions

 TypeName ("GAMG")
 Runtime type information.
 GAMGPreconditioner (const lduMatrix::solver &, const dictionary &solverControls)
 Construct from matrix components and preconditioner solver controls.
virtual  ~GAMGPreconditioner ()
virtual void  precondition (scalarField &wA, const scalarField &rA, const direction cmpt=0) const
 Return wA the preconditioned form of residual rA.

Protected Member Functions

virtual void  readControls ()
 Read the control parameters from the controlDict_.

Protected Attributes

label  nVcycles_
 Number of V-cycles to perform.

Constructor & Destructor Documentation

GAMGPreconditioner ( const lduMatrix::solver &   sol,
const dictionary &   solverControls  
)

Construct from matrix components and preconditioner solver controls.

Definition at line 45 of file GAMGPreconditioner.C.

~GAMGPreconditioner (  ) [virtual]

Definition at line 68 of file GAMGPreconditioner.C.


Member Function Documentation

void readControls (  ) [protected, virtual]

Read the control parameters from the controlDict_.

Reimplemented from GAMGSolver.

Definition at line 74 of file GAMGPreconditioner.C.

TypeName ( "GAMG"    )

Runtime type information.

Reimplemented from GAMGSolver.

void precondition ( scalarField &   wA,
const scalarField &   rA,
const direction   cmpt = 0  
) const [virtual]

Return wA the preconditioned form of residual rA.

Implements lduMatrix::preconditioner.

Definition at line 82 of file GAMGPreconditioner.C.

References List< T >::size().


Member Data Documentation

label nVcycles_ [protected]

Number of V-cycles to perform.

Definition at line 61 of file GAMGPreconditioner.H.


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