mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #378 from blattms/less-verbose-parallel-runs
Prevent printing stats on more than 1 process for CPR.
This commit is contained in:
@@ -459,7 +459,8 @@ createEllipticPreconditionerPointer(const M& Ae, double relax,
|
||||
// Linear solver parameters
|
||||
const double tolerance = param_.cpr_solver_tol_;
|
||||
const int maxit = param_.cpr_max_ell_iter_;
|
||||
const int verbosity = param_.cpr_solver_verbose_ ? 1 : 0;
|
||||
const int verbosity = ( param_.cpr_solver_verbose_ &&
|
||||
comm_.communicator().rank()==0 ) ? 1 : 0;
|
||||
|
||||
// operator result containing iterations etc.
|
||||
Dune::InverseOperatorResult result;
|
||||
|
||||
Reference in New Issue
Block a user