Diffpack Documentation


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

SSOR Class Reference

iterative method for matrix systems. More...

#include <BasicIter.h>

Inheritance diagram for SSOR::

BasicItSolver IterativeSolver LinEqSolver HandleId List of all members.

Public Methods

 SSOR (real omega)
 SSOR (const LinEqSolver_prm &pm)
 ~SSOR ()
virtual bool solve (LinEqSystem &system)
virtual void performance (LinEqStatBlk &performance_status)
virtual String description () const

Detailed Description

iterative method for matrix systems.

NAME: SSOR - iterative method for matrix systems

DESCRIPTION:

The class implements the SSOR iteration for solving systems of linear equations. The system is represented as a class "LinEqSystem" object. Usually, an object of type "SSOR" is created on basis of the parameter object "LinEqSolver_prm" using the function "LinEqSolver_prm create".


Constructor & Destructor Documentation

SSOR::SSOR ( real omega )
 

There is two constructors taking the parameters that are required to initialize the object. One of these accept the relaxation parameter "omega" directly, while the other reads this value from a "LinEqSolver_prm" object.

Internal "LinEqVector" attributes are not properly initialized by the constructor. These are initialized by the "redim" function which is called from "solve". Thus, the user of this class need not be careful with initialization of objects: The constructor and the "solve" function will take care of it.

SSOR::SSOR ( const LinEqSolver_prm & pm )
 

See documentation of one of the overloaded constructor.

SSOR::~SSOR ( ) [inline]
 


Member Function Documentation

String SSOR::description ( ) const [virtual]
 

Reimplemented from LinEqSolver.

void SSOR::performance ( LinEqStatBlk & performance_status ) [virtual]
 

fills in the "LinEqStatBlk" object with relevant statistics regarding the last solve.

Reimplemented from IterativeSolver.

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

solve a system of linear equations using the SSOR method.

Reimplemented from BasicItSolver.


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