Feel++ 0.91.0
|
Public Types | |
typedef BackendBase | backend_type |
typedef boost::shared_ptr < backend_type > | backend_ptrtype |
typedef backend_type::value_type | value_type |
typedef backend_type::sparse_matrix_type | sparse_matrix_type |
typedef backend_type::sparse_matrix_ptrtype | sparse_matrix_ptrtype |
typedef backend_type::vector_type | vector_type |
typedef backend_type::vector_ptrtype | vector_ptrtype |
Public Member Functions | |
BackendAdaptiveReusePC (po::variables_map const &vm, std::string const &prefix="") | |
template<typename DomainSpace , typename DualImageSpace > | |
sparse_matrix_ptrtype | newMatrix (DomainSpace const &domainSpace, DualImageSpace const &dualImageSpace) |
template<typename SpaceT > | |
vector_ptrtype | newVector (SpaceT const &space) |
void | set_noisy (int noisy) |
void | set_maxiter (int maxiter) |
void | set_fillin (int fillin) |
void | set_threshold (double threshold) |
void | set_tol (double tol) |
void | set_symmetric (bool isSymmetric) |
void | set_direct (bool isDirect) |
void | set_solver_type (std::string const &solver) |
void | set_preconditioner_type (std::string const &prec) |
void | set_restart (int restart) |
template<class Vector > | |
void | applyMatrix (sparse_matrix_type const &A, const Vector &x, vector_type &b) |
template<class Vector > | |
void | solve (sparse_matrix_type const &A, Vector &x, const vector_type &b, bool reusePC) |
template<class Vector > | |
void | solve (sparse_matrix_type const &A, Vector &x, const vector_type &b) |
template<class Vector > | |
value_type | dot (const vector_type &f, const Vector &x) |
bool | converged () |
size_type | get_iteration () |
bool | reusePC () const |
bool | reusedPC () const |
bool | reuseFailed () const |