mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 18:21:00 -06:00
change verbosity level setting for cpr to be more finegrained
This commit is contained in:
parent
b27e56e386
commit
41acbcf861
@ -427,8 +427,11 @@ private:
|
||||
// Linear solver parameters
|
||||
const double tolerance = param_->cpr_solver_tol_;
|
||||
const int maxit = param_->cpr_max_iter_;
|
||||
const int verbosity = ( param_->cpr_solver_verbose_ &&
|
||||
comm_.communicator().rank()==0 ) ? 1 : 0;
|
||||
int verbosity = 0;
|
||||
if (comm_.communicator().rank() == 0) {
|
||||
verbosity = param_->cpr_solver_verbose_;
|
||||
}
|
||||
|
||||
if ( param_->cpr_ell_solvetype_ == 0)
|
||||
{
|
||||
#if DUNE_VERSION_NEWER(DUNE_ISTL, 2, 6)
|
||||
|
@ -197,8 +197,10 @@ createAMGPreconditionerPointer(Op& opA, const double relax, const P& comm,
|
||||
const Vector& weights)
|
||||
{
|
||||
using AMG = BlackoilAmg<Op,S,C,P,PressureEqnIndex,PressureVarIndex>;
|
||||
const int verbosity = ( params.cpr_solver_verbose_ && comm.communicator().rank() == 0 ) ? 1 : 0;
|
||||
|
||||
int verbosity = 0;
|
||||
if (comm.communicator().rank() == 0) {
|
||||
verbosity = params.cpr_solver_verbose_;
|
||||
}
|
||||
// TODO: revise choice of parameters
|
||||
int coarsenTarget=1200;
|
||||
using Criterion = C;
|
||||
|
Loading…
Reference in New Issue
Block a user