Skip to content

Commit

Permalink
Use Amesos2 Solver Package instead of just Mumps
Browse files Browse the repository at this point in the history
  • Loading branch information
wortiz committed Apr 15, 2024
1 parent 4b42444 commit 4ed0fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sl_amesos2_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ int amesos2_solve(struct GomaLinearSolverData *ams,

if (solver_data->solver.is_null()) {
Teuchos::RCP<MAT> crs_matrix = Teuchos::rcp_dynamic_cast<MAT>(tpetra_data->matrix);
solver_data->solver = Amesos2::create<MAT, MV>("Mumps", crs_matrix);
solver_data->solver = Amesos2::create<MAT, MV>(amesos2_solver, crs_matrix);
if (amesos2_file != NULL && strlen(amesos2_file) > 0) {
std::filesystem::path path(amesos2_file);
Teuchos::RCP<Teuchos::ParameterList> amesos2_params;
Expand Down

0 comments on commit 4ed0fc7

Please sign in to comment.