cgv
|
factory class for sparse linear system solvers More...
#include <sparse_les.h>
Public Member Functions | |
virtual SparseLesCaps | get_caps () const =0 |
return the supported capabilities of the solver | |
virtual std::string | get_solver_name () const =0 |
return the name of the solver | |
virtual sparse_les_ptr | create (int n, int nr_rhs, int nr_nze=-1)=0 |
create an instance of the solver. More... | |
int | get_ref_count () const |
read access to current count | |
Protected Member Functions | |
void | set_ref_count (int c) const |
write access is also const to allow ref counted pointers to const instances | |
factory class for sparse linear system solvers
|
pure virtual |
create an instance of the solver.
The parameters to the creation function are
Implemented in cgv::math::sparse_les_factory_impl< T >.