mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-01 21:39:09 -06:00
Delete superfluous second setting of trueimpes.
It is already set in the if-else above.
This commit is contained in:
parent
d382565681
commit
65fceb34c1
@ -101,9 +101,6 @@ setupPropertyTree(const FlowLinearSolverParameters& p)
|
||||
prm.put("preconditioner.coarsesolver.preconditioner.verbosity",0);
|
||||
prm.put("preconditioner.coarsesolver.preconditioner.maxlevel",15);
|
||||
prm.put("preconditioner.coarsesolver.preconditioner.skip_isolated",0);
|
||||
if(p.linear_solver_configuration_ == "cpr_trueimpes"){
|
||||
prm.put("preconditioner.weight_type","trueimpes");
|
||||
}
|
||||
} else {
|
||||
if(conf != "ilu0"){
|
||||
OPM_THROW(std::invalid_argument, conf << "is not a valid setting for --linear-solver-configuration."
|
||||
|
Loading…
Reference in New Issue
Block a user