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

Solver Class Reference

Abstract base class for solving linear and nonlinear problems. Different implementation may exist. More...

#include <solver.hpp>

Inheritance diagram for Solver:
BiCGSTABSolver GSSolver UMFPACKSolver

List of all members.

Public Member Functions

virtual ~Solver ()
 Virtual destructor.
virtual void solve (const class Problem &p, Vector &X)=0
 Solve problem p. Initial guess and solution are in vector X.
virtual void reset (void)=0
 Reset solver.

Detailed Description

Abstract base class for solving linear and nonlinear problems. Different implementation may exist.


Constructor & Destructor Documentation

virtual Solver::~Solver (  )  [inline, virtual]

Virtual destructor.


Member Function Documentation

virtual void Solver::reset ( void   )  [pure virtual]

Reset solver.

This is a signal from the problem that the problem has changed and internal caches (if they exist) in the solver should be resetted.

Implemented in BiCGSTABSolver, GSSolver, and UMFPACKSolver.

virtual void Solver::solve ( const class Problem p,
Vector X 
) [pure virtual]

Solve problem p. Initial guess and solution are in vector X.


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:54.