#include <LinEqSolver.h>
Inheritance diagram for BasicItSolver::

Public Methods | |
| ~BasicItSolver () | |
| virtual bool | ok () const |
| virtual bool | solve (LinEqSystem &system) |
| virtual String | getCategory () const |
| virtual bool | inCategory (const String &baseclass_name) const |
Protected Methods | |
| BasicItSolver () | |
| BasicItSolver (const LinEqSolver_prm &pm) | |
| virtual void | init (const LinEqPrecMode algprec_mode) |
| virtual bool | redim (LinEqSystem &system) |
| virtual void | initDefaultCriterion () |
| virtual void | initCommBlk () |
NAME: BasicItSolver - base class for basic iterations
DESCRIPTION:
This class is the base for any stationary iteration, where storage of residual vectors is not required.
|
|
See class "LinEqSolver". |
|
|
See documentation of one of the overloaded constructor. |
|
|
|
|
|
returns a string indicating the current solver category, e.g., "DirectSolver" or "IterativeSolver". Reimplemented from IterativeSolver. |
|
|
checks if the current solver belongs to the specified category. This function is useful when one wants to cast a "LinEqSolver" object to some derived type in order to reach specialized functionality. The test on "inCategory" should then preceed the casting. Reimplemented from IterativeSolver. |
|
|
to be called by "solve" before starting the iteration. This implies redimensioning of internal data structures and other bookeeping details to ensure the flexibility of the "IterativeSolver" framework. (For internal use only). Reimplemented from IterativeSolver. |
|
|
initializes the communication block needed for communication with attached "LinEqSystem", "EigenEstimator", "Precond" and "ConvMonitor" objects. This function is typically called by "init". (For internal use only). Reimplemented from IterativeSolver. |
|
|
initializes the default convergence criterion for the current solver. This function is typically called by "init" (if the solver has not been explicitly told to leave out the default criterion). Any default criterion will act as a stopping test and will be placed in front of the monitor list. (For internal use only). Reimplemented from IterativeSolver. |
|
|
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 IterativeSolver. Reimplemented in MLIter. |
|
|
redimensions internal storage based on the given "LinEqSystem" object. This function is typically called from "solve". 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. |