
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 |
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.
| 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.
| 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.
const AdditionalData PETScWrappers::PreconditionBoomerAMG::additional_data [protected] |
Store a copy of the flags for this particular preconditioner.
documentation generated on Fri Aug 12 2011 15:01:09 by
doxygen
1.7.4