mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #1267 from GitPaean/removing_new_variables
removing a few unused nw variable in StandardWell_impl.
This commit is contained in:
@@ -532,8 +532,6 @@ namespace Opm
|
|||||||
WellState& well_state,
|
WellState& well_state,
|
||||||
bool only_wells)
|
bool only_wells)
|
||||||
{
|
{
|
||||||
// TODO: accessing well_state information is the only place to use nw at the moment
|
|
||||||
const int nw = well_state.bhp().size();
|
|
||||||
const int numComp = numComponents();
|
const int numComp = numComponents();
|
||||||
const int np = number_of_phases_;
|
const int np = number_of_phases_;
|
||||||
|
|
||||||
@@ -787,7 +785,6 @@ namespace Opm
|
|||||||
WellState& well_state) const
|
WellState& well_state) const
|
||||||
{
|
{
|
||||||
const int np = number_of_phases_;
|
const int np = number_of_phases_;
|
||||||
const int nw = well_state.bhp().size();
|
|
||||||
const double dBHPLimit = param.dbhp_max_rel_;
|
const double dBHPLimit = param.dbhp_max_rel_;
|
||||||
const double dFLimit = param.dwell_fraction_max_;
|
const double dFLimit = param.dwell_fraction_max_;
|
||||||
|
|
||||||
@@ -1152,7 +1149,6 @@ namespace Opm
|
|||||||
wellhelpers::WellSwitchingLogger& logger) const
|
wellhelpers::WellSwitchingLogger& logger) const
|
||||||
{
|
{
|
||||||
const int np = number_of_phases_;
|
const int np = number_of_phases_;
|
||||||
const int nw = xw.bhp().size();
|
|
||||||
const int w = index_of_well_;
|
const int w = index_of_well_;
|
||||||
|
|
||||||
const int old_control_index = xw.currentControls()[w];
|
const int old_control_index = xw.currentControls()[w];
|
||||||
|
|||||||
Reference in New Issue
Block a user