cgv
|
implementation of factory class for sparse linear system solvers More...
#include <sparse_les.h>
Public Member Functions | |
sparse_les_factory_impl (const std::string &_solver_name, SparseLesCaps _caps) | |
SparseLesCaps | get_caps () const |
return the supported capabilities of the solver | |
std::string | get_solver_name () const |
return the name of the solver | |
sparse_les_ptr | create (int n, int nr_rhs, int nr_nze) |
create an instance of the solver. | |
![]() | |
virtual | ~sparse_les_factory () |
make constructor virtual | |
![]() | |
int | get_ref_count () const |
read access to current count | |
Protected Attributes | |
std::string | solver_name |
SparseLesCaps | caps |
Additional Inherited Members | |
![]() | |
ref_counted () | |
constructor initializes the count to 0 | |
void | set_ref_count (int c) const |
write access is also const to allow ref counted pointers to const instances | |
implementation of factory class for sparse linear system solvers
Definition at line 93 of file sparse_les.h.
|
inline |
Definition at line 99 of file sparse_les.h.
|
inlinevirtual |
create an instance of the solver.
Implements cgv::math::sparse_les_factory.
Definition at line 106 of file sparse_les.h.
|
inlinevirtual |
return the supported capabilities of the solver
Implements cgv::math::sparse_les_factory.
Definition at line 102 of file sparse_les.h.
|
inlinevirtual |
return the name of the solver
Implements cgv::math::sparse_les_factory.
Definition at line 104 of file sparse_les.h.
|
protected |
Definition at line 97 of file sparse_les.h.
|
protected |
Definition at line 96 of file sparse_les.h.