Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.4
   Version 1.0.4dev
      Class Index
      File List
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads

Diag_Precond Class Reference

Diagonal preconditioner class. More...

#include <diag_precond.hpp>

Inheritance diagram for Diag_Precond:
Precond

List of all members.

Public Member Functions

 Diag_Precond (const Matrix &A)
 Constructor for a diagonal preconditioner for matrix A.
 ~Diag_Precond ()
 Destructor.
void solve (Vector &x, const Vector &b) const
 Solve M* x = b and return x.

Detailed Description

Diagonal preconditioner class.


Constructor & Destructor Documentation

Diag_Precond::Diag_Precond ( const Matrix A  ) 

Constructor for a diagonal preconditioner for matrix A.

Diag_Precond::~Diag_Precond (  )  [inline]

Destructor.


Member Function Documentation

void Diag_Precond::solve ( Vector x,
const Vector b 
) const [virtual]

Solve M* x = b and return x.

Implements Precond.


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


Reference manual for Ion Beam Simulator 1.0.4dev
Generated by Doxygen 1.7.1 on Wed May 18 2011 23:03:50.