Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

MinRes Class Reference

iterative method for matrix systems. More...

#include <MinRes.h>

Inheritance diagram for MinRes::

KrylovItSolver IterativeSolver LinEqSolver HandleId List of all members.

Public Methods

 MinRes ()
 MinRes (const LinEqSolver_prm &pm)
 ~MinRes ()
virtual bool solve (LinEqSystem &system)
virtual bool redim (LinEqSystem &system)
virtual bool ok () const
virtual String description () const

Detailed Description

iterative method for matrix systems.

NAME: MinRes - iterative method for matrix systems

DESCRIPTION:

The class implements the Orthomin(0) iterative method for nonsymmetric linear systems (see also class "Orthomin").


Constructor & Destructor Documentation

MinRes::MinRes ( )
 

There is a default constructor without arguments. For the sake of comaptibility, there is also a constructor accepting a "LinEqSolver_prm" object, aimed to be used by "LinEqSolver_prm create".

MinRes::MinRes ( const LinEqSolver_prm & pm )
 

See documentation of one of the overloaded constructor.

MinRes::~MinRes ( ) [inline]
 


Member Function Documentation

String MinRes::description ( ) const [virtual]
 

Reimplemented from LinEqSolver.

bool MinRes::ok ( ) const [virtual]
 

returns "true" if the object is in an ok state, that is, if all internal attricutes seems to be initialized. This "ok" function is called in "solve" and the user of the class should never need to call "ok".

Reimplemented from KrylovItSolver.

bool MinRes::redim ( LinEqSystem & system ) [virtual]
 

redimensions the internal data structure (usually "LinEqVector" objects) on basis of the size of a "LinEqSystem" given as argument to "redim". The "redim" function is usually called from "solve" and a user of the class will seldom need to call "redim" explicitly.

Reimplemented from KrylovItSolver.

bool MinRes::solve ( LinEqSystem & system ) [virtual]
 

solve a system of linear equations.

Reimplemented from KrylovItSolver.


The documentation for this class was generated from the following file:
Copyright © 2003 inuTech GmbH. All rights reserved.