mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-07 15:03:01 -06:00
Merge pull request #2618 from blattms/actually-use-trueimpes-for-cpr-trueimpes
Use "trueimpes" for weight_type for configuration cpr_trueimpes.
This commit is contained in:
commit
35cf505d14
@ -71,7 +71,14 @@ setupPropertyTree(const FlowLinearSolverParameters& p)
|
||||
prm.put("verbosity", p.linear_solver_verbosity_);
|
||||
prm.put("solver", "bicgstab");
|
||||
prm.put("preconditioner.type", "cpr");
|
||||
prm.put("preconditioner.weight_type","quasiimpes");
|
||||
if (conf == "cpr_quasiimpes" )
|
||||
{
|
||||
prm.put("preconditioner.weight_type","quasiimpes");
|
||||
}
|
||||
else
|
||||
{
|
||||
prm.put("preconditioner.weight_type","trueimpes");
|
||||
}
|
||||
prm.put("preconditioner.finesmoother.type", "ParOverILU0");
|
||||
prm.put("preconditioner.finesmoother.relaxation", 1.0);
|
||||
prm.put("preconditioner.pressure_var_index",1);
|
||||
|
Loading…
Reference in New Issue
Block a user