Solver Class Referenceabstract
Abstract base class for solving linear and nonlinear problems. Different implementation may exist. More...
#include <solver.hpp>
Public Member Functions | |
virtual | ~Solver () |
Virtual destructor. More... | |
virtual void | solve (const class Problem &p, Vector &X)=0 |
Solve problem p. Initial guess and solution are in vector X. More... | |
virtual void | reset (void)=0 |
Reset solver. More... | |
Detailed Description
Abstract base class for solving linear and nonlinear problems. Different implementation may exist.
Constructor & Destructor Documentation
◆ ~Solver()
|
inlinevirtual |
Virtual destructor.
Member Function Documentation
◆ reset()
|
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.
◆ solve()
|
pure virtual |
Solve problem p. Initial guess and solution are in vector X.
The documentation for this class was generated from the following file: