Virtual class for solving a linear system of the form Ax = b. More...
#include <LinearSystem.hpp>

Public Member Functions | |
| LinearSystem () | |
| Creates a LinearSystem object. More... | |
| virtual | ~LinearSystem ()=0 |
| Destroys this LinearSystem object. More... | |
| virtual const Eigen::VectorXd & | GetSolution ()=0 |
| Gets the solution vector. More... | |
| virtual bool | SolveSystem (Eigen::SparseMatrix< double > &A, Eigen::VectorXd &b)=0 |
| Solve the linear system. More... | |
Virtual class for solving a linear system of the form Ax = b.
| LinearSystem::LinearSystem | ( | ) |
Creates a LinearSystem object.
|
pure virtual |
Destroys this LinearSystem object.
|
pure virtual |
Gets the solution vector.
Implemented in MumpsSolver, PetscSolver, and EigenSolver.
|
pure virtual |
Solve the linear system.
| A | The matrix with the left-hand side. |
| b | The vector with the right-hand side. |
Implemented in MumpsSolver, PetscSolver, and EigenSolver.