mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-22 15:33:29 -06:00
Merge pull request #5786 from jakobtorben/expose_finesmoother_parameters_in_CPR_setup
Expose finesmoother pre/post smooth parameters in CPR setup
This commit is contained in:
commit
848e4718b1
@ -143,6 +143,8 @@ setupCPRW(const std::string& /*conf*/, const FlowLinearSolverParameters& p)
|
|||||||
prm.put("preconditioner.use_well_weights", "false"s);
|
prm.put("preconditioner.use_well_weights", "false"s);
|
||||||
prm.put("preconditioner.add_wells", "true"s);
|
prm.put("preconditioner.add_wells", "true"s);
|
||||||
prm.put("preconditioner.weight_type", "trueimpes"s);
|
prm.put("preconditioner.weight_type", "trueimpes"s);
|
||||||
|
prm.put("preconditioner.pre_smooth", 0);
|
||||||
|
prm.put("preconditioner.post_smooth", 1);
|
||||||
prm.put("preconditioner.finesmoother.type", "ParOverILU0"s);
|
prm.put("preconditioner.finesmoother.type", "ParOverILU0"s);
|
||||||
prm.put("preconditioner.finesmoother.relaxation", 1.0);
|
prm.put("preconditioner.finesmoother.relaxation", 1.0);
|
||||||
prm.put("preconditioner.verbosity", 0);
|
prm.put("preconditioner.verbosity", 0);
|
||||||
@ -191,6 +193,8 @@ setupCPR(const std::string& conf, const FlowLinearSolverParameters& p)
|
|||||||
} else {
|
} else {
|
||||||
prm.put("preconditioner.weight_type", "trueimpesanalytic"s);
|
prm.put("preconditioner.weight_type", "trueimpesanalytic"s);
|
||||||
}
|
}
|
||||||
|
prm.put("preconditioner.pre_smooth", 0);
|
||||||
|
prm.put("preconditioner.post_smooth", 1);
|
||||||
prm.put("preconditioner.finesmoother.type", "ParOverILU0"s);
|
prm.put("preconditioner.finesmoother.type", "ParOverILU0"s);
|
||||||
prm.put("preconditioner.finesmoother.relaxation", 1.0);
|
prm.put("preconditioner.finesmoother.relaxation", 1.0);
|
||||||
prm.put("preconditioner.verbosity", 0);
|
prm.put("preconditioner.verbosity", 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user