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

@@ -73,11 +73,13 @@ 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)
{
this->phase_usage_ = phase_usage_arg;
this->gravity_ = gravity_arg;
B_avg_ = B_avg;
this->changed_to_open_this_step_ = changed_to_open_this_step;
}