mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 13:33:28 -06:00
Pass PhaseUsage to WellState::report
This commit is contained in:
parent
2261999c1e
commit
afaa3c5669
@ -34,6 +34,7 @@
|
||||
|
||||
namespace Opm
|
||||
{
|
||||
class PhaseUsage;
|
||||
|
||||
/// The state of a set of wells.
|
||||
class WellState
|
||||
@ -212,7 +213,7 @@ namespace Opm
|
||||
return wellRates().size() / numWells();
|
||||
}
|
||||
|
||||
virtual data::Wells report() const
|
||||
virtual data::Wells report(const PhaseUsage &pu) const
|
||||
{
|
||||
return { { /* WellState offers no completion data, so that has to be added later */ },
|
||||
this->bhp(),
|
||||
|
Loading…
Reference in New Issue
Block a user