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

GAMGSolver Class Reference

Geometric agglomerated algebraic multigrid solver. More...

#include <OpenFOAM/GAMGSolver.H>


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 72 of file GAMGSolver.H.

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

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 45 of file GAMGSolver.C.

References Foam::exit(), Foam::FatalError, FatalErrorIn, and forAll.

~GAMGSolver (  ) [virtual]

Definition at line 127 of file GAMGSolver.C.

References forAll, and UPtrList< T >::set().


Member Function Documentation

TypeName ( "GAMG"    )

Runtime type information.

Reimplemented in GAMGPreconditioner.


Friends And Related Function Documentation

friend class GAMGPreconditioner [friend]

Definition at line 206 of file GAMGSolver.H.


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