mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
moving localWellsActive and wellsActive to StandardWells
maybe later it can be something general for different types of wells.
This commit is contained in:
@@ -179,7 +179,6 @@ namespace Opm {
|
||||
|
||||
// Need to declare Base members we want to use here.
|
||||
using Base::stdWells;
|
||||
using Base::wellsActive;
|
||||
using Base::variableState;
|
||||
using Base::computePressures;
|
||||
using Base::computeGasPressure;
|
||||
|
||||
@@ -525,7 +525,7 @@ namespace Opm {
|
||||
assembleMassBalanceEq(state);
|
||||
|
||||
// -------- Well equations ----------
|
||||
if ( ! wellsActive() ) {
|
||||
if ( ! stdWells().wellsActive() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -710,7 +710,7 @@ namespace Opm {
|
||||
BlackoilPolymerModel<Grid>::computeWaterShearVelocityWells(const SolutionState& state, WellState& xw, const ADB& cq_sw,
|
||||
std::vector<double>& water_vel_wells, std::vector<double>& visc_mult_wells)
|
||||
{
|
||||
if( ! wellsActive() ) return ;
|
||||
if( ! stdWells().wellsActive() ) return ;
|
||||
|
||||
const int nw = stdWells().wells().number_of_wells;
|
||||
const int nperf = stdWells().wells().well_connpos[nw];
|
||||
|
||||
Reference in New Issue
Block a user