diff --git a/opm/autodiff/BlackoilModelBase_impl.hpp b/opm/autodiff/BlackoilModelBase_impl.hpp index 308b2c7cf..7731360ad 100644 --- a/opm/autodiff/BlackoilModelBase_impl.hpp +++ b/opm/autodiff/BlackoilModelBase_impl.hpp @@ -805,7 +805,7 @@ namespace detail { mob_perfcells[phase] = subset(rq_[phase].mob, well_cells); b_perfcells[phase] = subset(rq_[phase].b, well_cells); } - if (param_.solve_wellEq_initially_ && initial_assembly) { + if (param_.solve_welleq_initially_ && initial_assembly) { // solve the well equations as a pre-processing step solveWellEq(mob_perfcells, b_perfcells, state, well_state); } diff --git a/opm/autodiff/BlackoilModelParameters.cpp b/opm/autodiff/BlackoilModelParameters.cpp index 854284f18..5c5530d78 100644 --- a/opm/autodiff/BlackoilModelParameters.cpp +++ b/opm/autodiff/BlackoilModelParameters.cpp @@ -46,7 +46,7 @@ namespace Opm tolerance_mb_ = param.getDefault("tolerance_mb", tolerance_mb_); tolerance_cnv_ = param.getDefault("tolerance_cnv", tolerance_cnv_); tolerance_wells_ = param.getDefault("tolerance_wells", tolerance_wells_ ); - solve_wellEq_initially_ = param.getDefault("solve_wellEq_initially",solve_wellEq_initially_); + solve_welleq_initially_ = param.getDefault("solve_welleq_initially",solve_welleq_initially_); } @@ -62,7 +62,7 @@ namespace Opm tolerance_mb_ = 1.0e-5; tolerance_cnv_ = 1.0e-2; tolerance_wells_ = 1.0e-3; - solve_wellEq_initially_ = false; + solve_welleq_initially_ = false; } diff --git a/opm/autodiff/BlackoilModelParameters.hpp b/opm/autodiff/BlackoilModelParameters.hpp index c50ce4cce..15e7042db 100644 --- a/opm/autodiff/BlackoilModelParameters.hpp +++ b/opm/autodiff/BlackoilModelParameters.hpp @@ -44,7 +44,7 @@ namespace Opm double tolerance_wells_; /// Solve well equation initially - bool solve_wellEq_initially_; + bool solve_welleq_initially_; /// Construct from user parameters or defaults. explicit BlackoilModelParameters( const parameter::ParameterGroup& param );