Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let PETSc choose default LU solver within NewtonSolver #2803

Merged
merged 11 commits into from
Nov 14, 2023
3 changes: 0 additions & 3 deletions cpp/dolfinx/nls/NewtonSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ nls::petsc::NewtonSolver::NewtonSolver(MPI_Comm comm)
_solver.set_options_prefix("nls_solve_");
la::petsc::options::set("nls_solve_ksp_type", "preonly");
la::petsc::options::set("nls_solve_pc_type", "lu");
#if PETSC_HAVE_MUMPS
la::petsc::options::set("nls_solve_pc_factor_mat_solver_type", "mumps");
#endif
_solver.set_from_options();
}
//-----------------------------------------------------------------------------
Expand Down
Loading