Public Member Functions | Public Attributes

PETScWrappers::SolverBase::SolverData Struct Reference

List of all members.

Public Member Functions

 ~SolverData ()

Public Attributes

KSP ksp

Detailed Description

A structure that contains the PETSc solver and preconditioner objects. This object is preserved between subsequent calls to the solver if the same preconditioner is used as in the previous solver step. This may save some computation time, if setting up a preconditioner is expensive, such as in the case of an ILU for example.

The actual declaration of this class is complicated by the fact that PETSc changed its solver interface completely and incompatibly between versions 2.1.6 and 2.2.0 :-(

Objects of this type are explicitly created, but are destroyed when the surrounding solver object goes out of scope, or when we assign a new value to the pointer to this object. The respective *Destroy functions are therefore written into the destructor of this object, even though the object does not have a constructor.

Definition at line 266 of file petsc_solver.h.


Constructor & Destructor Documentation

PETScWrappers::SolverBase::SolverData::~SolverData ( )

Destructor


Member Data Documentation

Objects for Krylov subspace solvers and preconditioners.

Definition at line 283 of file petsc_solver.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Wed May 23 2012 12:04:19 by doxygen 1.7.3