WIP in cleaning up the interfaces of WellInterface and StandardWell

commiting now to save some changes.
This commit is contained in:
Kai Bao
2017-08-04 11:20:55 +02:00
parent d4f26ad47a
commit 1550fb7600
4 changed files with 28 additions and 57 deletions

View File

@@ -96,12 +96,6 @@ namespace Opm
/// Well controls
WellControls* wellControls() const;
/// Number of the perforations
int numberOfPerforations() const;
/// Depth of perforations
const std::vector<double>& perfDepth() const;
virtual void init(const PhaseUsage* phase_usage_arg,
const std::vector<bool>* active_arg,
const VFPProperties* vfp_properties_arg,
@@ -172,14 +166,15 @@ namespace Opm
int flowPhaseToEbosPhaseIdx( const int phaseIdx ) const;
int numPhases() const;
// number of phases
int numberOfPhases() const;
int numPhases() const;
// TODO: it is dumplicated with StandardWellsDense
int numComponents() const;
// Number of the perforations
int numberOfPerforations() const;
// simply returning allow_cf_
// TODO: to check whether needed, it causes name problem with the crossFlowAllowed
bool allowCrossFlow() const;
@@ -280,7 +275,7 @@ namespace Opm
// Component fractions for each phase for the well
const std::vector<double>& compFrac() const;
/// Well productivity index for each perforation.
// Well productivity index for each perforation.
const std::vector<double>& wellIndex() const;
double mostStrictBhpFromBhpLimits() const;