using legacyDepth_ for the perfoation depth

for StandardWell. It turns out that it can be different with the
grid.getCellDepth() from the parser.
This commit is contained in:
Kai Bao
2017-08-01 16:11:55 +02:00
parent 6e0da756dc
commit 4f716a633d
5 changed files with 13 additions and 12 deletions

View File

@@ -134,6 +134,7 @@ namespace Opm
virtual void init(const PhaseUsage* phase_usage_arg,
const std::vector<bool>* active_arg,
const VFPProperties* vfp_properties_arg,
const std::vector<double>& depth_arg,
const double gravity_arg,
const int num_cells);
@@ -262,6 +263,7 @@ namespace Opm
// well index for each perforation
std::vector<double> well_index_;
// TODO: it might should go to StandardWell
// depth for each perforation
std::vector<double> perf_depth_;