OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

GAMGSolver Class Reference

Geometric agglomerated algebraic multigrid solver. More...

Inheritance diagram for GAMGSolver:
Collaboration diagram for GAMGSolver:

List of all members.


Public Member Functions

 TypeName ("GAMG")
 Runtime type information.
 GAMGSolver (const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const dictionary &solverControls)
 Construct from lduMatrix and solver controls.
virtual ~GAMGSolver ()
virtual
lduMatrix::solverPerformance 
solve (scalarField &psi, const scalarField &source, const direction cmpt=0) const
 Solve.

Friends

class GAMGPreconditioner

Detailed Description

Geometric agglomerated algebraic multigrid solver.

Characteristics:

  • Requires positive definite, diagonally dominant matrix.
  • Agglomeration algorithm: selectable and optionally cached.
  • Restriction operator: summation.
  • Prolongation operator: injection.
  • Smoother: Gauss-Seidel.
  • Coarse matrix creation: central coefficient: summation of fine grid central coefficients with the removal of intra-cluster face; off-diagonal coefficient: summation of off-diagonal faces.
  • Coarse matrix scaling: performed by correction scaling, using steepest descent optimisation.
  • Type of cycle: V-cycle with optional pre-smoothing.
  • Coarsest-level matrix solved using ICCG or BICCG.

Source files

Definition at line 67 of file GAMGSolver.H.


Constructor & Destructor Documentation

GAMGSolver ( const word &  fieldName,
const lduMatrix &  matrix,
const FieldField< Field, scalar > &  interfaceBouCoeffs,
const FieldField< Field, scalar > &  interfaceIntCoeffs,
const lduInterfaceFieldPtrsList &  interfaces,
const dictionary &  solverControls 
)

Construct from lduMatrix and solver controls.

Definition at line 37 of file GAMGSolver.C.

~GAMGSolver (  )  [virtual]

Definition at line 119 of file GAMGSolver.C.


Member Function Documentation

TypeName ( "GAMG"   ) 

Runtime type information.

Reimplemented in GAMGPreconditioner.


Friends And Related Function Documentation

friend class GAMGPreconditioner [friend]

Definition at line 207 of file GAMGSolver.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd