Skip to content

Commit

Permalink
use cprw as default linear solver
Browse files Browse the repository at this point in the history
  • Loading branch information
Tor Harald Sandve committed Feb 6, 2024
1 parent 5fea77c commit 786ad9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opm/simulators/linalg/FlowLinearSolverParameters.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ struct ScaleLinearSystem<TypeTag, TTag::FlowIstlSolverParams> {
};
template<class TypeTag>
struct LinearSolver<TypeTag, TTag::FlowIstlSolverParams> {
static constexpr auto value = "ilu0";
static constexpr auto value = "cprw";
};
template<class TypeTag>
struct LinearSolverPrintJsonDefinition<TypeTag, TTag::FlowIstlSolverParams> {
Expand Down Expand Up @@ -335,7 +335,7 @@ namespace Opm
newton_use_gmres_ = false;
ignoreConvergenceFailure_ = false;
scale_linear_system_ = false;
linsolver_ = "ilu0";
linsolver_ = "cprw";
linear_solver_print_json_definition_ = true;
cpr_reuse_setup_ = 4;
cpr_reuse_interval_ = 30;
Expand Down

0 comments on commit 786ad9a

Please sign in to comment.