mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-28 20:13:49 -06:00
fixed bug in default options for cprw
This commit is contained in:
parent
541edeaf67
commit
3bed1ebbdb
@ -113,6 +113,8 @@ setupCPRW(const std::string& conf, const FlowLinearSolverParameters& p)
|
||||
prm.put("verbosity", p.linear_solver_verbosity_);
|
||||
prm.put("solver", "bicgstab"s);
|
||||
prm.put("preconditioner.type", "cprw"s);
|
||||
prm.put("preconditioner.use_well_weights", "false"s);
|
||||
prm.put("preconditioner.add_wells", "true"s);
|
||||
if (conf == "cpr_quasiimpes") {
|
||||
prm.put("preconditioner.weight_type", "quasiimpes"s);
|
||||
} else {
|
||||
@ -120,8 +122,6 @@ setupCPRW(const std::string& conf, const FlowLinearSolverParameters& p)
|
||||
}
|
||||
prm.put("preconditioner.finesmoother.post_smooth",1);
|
||||
prm.put("preconditioner.finesmoother.pre_smooth",1);
|
||||
prm.put("preconditioner.finesmoother.use_well_weight", "false"s);
|
||||
prm.put("preconditioner.finesmoother.add_wells", "true"s);
|
||||
prm.put("preconditioner.finesmoother.type", "ParOverILU0"s);
|
||||
prm.put("preconditioner.finesmoother.relaxation", 1.0);
|
||||
prm.put("preconditioner.verbosity", 0);
|
||||
|
Loading…
Reference in New Issue
Block a user