26 , solvertype_m(solvertype)
27 , solver_mp(Teuchos::null)
33 const Teuchos::RCP<mv_t>& b)
38 solver_mp->solve(x.get(), b.get());
47 solver_mp = Amesos2::create<matrix_t, mv_t>(solvertype_m, A);
48 }
catch(
const std::invalid_argument& ex) {
52 solver_mp->symbolicFactorization();
53 solver_mp->numericFactorization();
55 this->isInitialized_m =
true;
Inform & endl(Inform &inf)
Some AMR types used a lot.
Tpetra::MultiVector< scalar_t, local_ordinal_t, global_ordinal_t, node_t > multivector_t
void setOperator(const Teuchos::RCP< matrix_t > &A, Level *level_p=nullptr)
void solve(const Teuchos::RCP< mv_t > &x, const Teuchos::RCP< mv_t > &b)
std::size_t getNumIters()
Amesos2BottomSolver(std::string solvertype="klu2")