#include <AMG.h>
Inheritance diagram for AMG::

Public Methods | |
| AMG () | |
| AMG (const LinEqSolver_prm &pm) | |
| ~AMG () | |
| virtual bool | ok () const |
| virtual bool | solve (LinEqSystem &system) |
| virtual int | getWork (const LinEqSysWork work_tp=TOTAL_WORK) const |
| virtual real | getStorage (const LinEqSysStorage storage_tp=TOTAL_STORAGE) const |
| virtual String | description () const |
NAME: AMG - solution of linear systems by algebraic multi-grid
DESCRIPTION:
The class implements the Algebraic Multigrid (AMG) method for solving systems of linear equations. The system is represented as a class "LinEqSystem" object. Usually, an object of type "AMG" is created on basis of the parameter object "LinEqSolver_prm" using the function "LinEqSolver_prm create".
|
|
Since no parameters are needed for this method, the default constructor takes no arguments. For the sake of compatibility, there is also a constructor accepting a "LinEqSolver_prm" object. |
|
|
See documentation of one of the overloaded constructor. |
|
|
|
|
|
Reimplemented from LinEqSolver. |
|
|
returns the storage estimate for the last solve. The argument "storage_tp" can be used to extract more detailed information. Reimplemented from LinEqSolver. |
|
|
returns the work estimate for the last solve. The argument "work_tp" can be used to extract more detailed information. Reimplemented from LinEqSolver. |
|
|
returns "true" if the solver is in a healthy state, i.e., if a "LinEqSystem" object is attached. If not, the value "false" is returned. Reimplemented from LinEqSolver. |
|
|
solves the linear system given as argument. There is no need for explicit redimensioning of internal data structure, this is automatically done by "solve". Reimplemented from LinEqSolver. |