dont use explicit vfp lookup for newly opened wells

This commit is contained in:
Tor Harald Sandve
2022-04-12 08:44:52 +02:00
parent 9364d4c54b
commit 96222f8afb
12 changed files with 29 additions and 18 deletions

View File

@@ -94,9 +94,10 @@ namespace Opm
const std::vector<double>& depth_arg,
const double gravity_arg,
const int num_cells,
const std::vector< Scalar >& B_avg)
const std::vector< Scalar >& B_avg,
const bool changed_to_open_this_step)
{
Base::init(phase_usage_arg, depth_arg, gravity_arg, num_cells, B_avg);
Base::init(phase_usage_arg, depth_arg, gravity_arg, num_cells, B_avg, changed_to_open_this_step);
// TODO: for StandardWell, we need to update the perf depth here using depth_arg.
// for MultisegmentWell, it is much more complicated.