#include <solver.hpp>
Inheritance diagram for Solver:
Public Member Functions | |
virtual | ~Solver () |
Virtual destructor. | |
virtual void | solve (const class Problem &p, Vector &X)=0 |
Solve problem p. Initial guess and solution are in vector X. | |
virtual void | reset (void)=0 |
Reset solver. |
virtual Solver::~Solver | ( | ) | [inline, virtual] |
Virtual destructor.
virtual void Solver::reset | ( | void | ) | [pure virtual] |
Reset solver.
This is a signal from the problem that the problem has changed and internal caches (if they exist) in the solver should be resetted.
Implemented in BiCGSTABSolver, GSSolver, and UMFPACKSolver.
Solve problem p. Initial guess and solution are in vector X.