Classes | Public Member Functions | Protected Member Functions | Protected Attributes
PETScWrappers::PreconditionBoomerAMG Class Reference
Inheritance diagram for PETScWrappers::PreconditionBoomerAMG:
Inheritance graph
[legend]

List of all members.

Classes

struct  AdditionalData

Public Member Functions

 PreconditionBoomerAMG (const MatrixBase &matrix, const AdditionalData &additional_data=AdditionalData())

Protected Member Functions

virtual void set_preconditioner_type (PC &pc) const

Protected Attributes

const AdditionalData additional_data

Detailed Description

A class that implements the interface to use the BoomerAMG algebraic multigrid preconditioner from the HYPRE suite. Note that PETSc has to be configured with HYPRE (e.g. with --download-hypre=1).

The preconditioner does support parallel distributed computations. See step-40 for an example.

Author:
Timo Heister, 2010

Constructor & Destructor Documentation

PETScWrappers::PreconditionBoomerAMG::PreconditionBoomerAMG ( const MatrixBase &  matrix,
const AdditionalData &  additional_data = AdditionalData() 
)

Constructor. Take the matrix which is used to form the preconditioner, and additional flags if there are any.


Member Function Documentation

virtual void PETScWrappers::PreconditionBoomerAMG::set_preconditioner_type ( PC &  pc) const [protected, virtual]

Function that takes a Krylov Subspace Preconditioner context object, and sets the type of preconditioner that is appropriate for the present class.

Implements PETScWrappers::PreconditionerBase.


Member Data Documentation

Store a copy of the flags for this particular preconditioner.


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

deal.II documentation generated on Fri Aug 12 2011 15:01:09 by doxygen 1.7.4