Diffpack Documentation
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Search
CGS Class Reference
Conjugate Gradient Squared method for nonsymmetric systems.
More...
#include <CGS.h>
Inheritance diagram for CGS::
List of all members.
Detailed Description
Conjugate Gradient Squared method for nonsymmetric systems.
NAME: CGS - Conjugate Gradient Squared method for nonsymmetric systems
DESCRIPTION:
The class implements an attractive variant of the Bi-Conjugate Gradient method, designed to solve certain classes of nonsymmetric linear systems. However, CGS may lead to a rather irregular convergence behaviour (in contrast to the Bi-Conjugate Gradient Stabilized method, see class "BiCGStab").
Constructor & Destructor Documentation
|
|
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". |
|
|
See documentation of one of the overloaded constructor. |
Member Function Documentation
|
String CGS::description (
|
) const [virtual]
|
|
|
bool CGS::ok (
|
) const [virtual]
|
|
|
bool CGS::redim (
|
LinEqSystem & system ) [protected, virtual]
|
|
|
|
redimensions internal storage based on the given "LinEqSystem" object. This function is typically called from "solve".
Reimplemented from KrylovItSolver. |
|
|
takes an input argument of type "LinEqSystem" which must be properly filled. The solution process is carried out inside the function. If successful, a "true" value will be returned.
Reimplemented from KrylovItSolver. |
Member Data Documentation
NUMT CGS::alpha [protected]
|
|
NUMT CGS::beta [protected]
|
|
NUMT CGS::rho [protected]
|
|
NUMT CGS::rho1 [protected]
|
|
The documentation for this class was generated from the following file:
Copyright © 2003 inuTech GmbH. All rights reserved.