mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Pass PhaseUsage to WellState::report
This commit is contained in:
@@ -34,6 +34,7 @@
|
|||||||
|
|
||||||
namespace Opm
|
namespace Opm
|
||||||
{
|
{
|
||||||
|
class PhaseUsage;
|
||||||
|
|
||||||
/// The state of a set of wells.
|
/// The state of a set of wells.
|
||||||
class WellState
|
class WellState
|
||||||
@@ -212,7 +213,7 @@ namespace Opm
|
|||||||
return wellRates().size() / numWells();
|
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 */ },
|
return { { /* WellState offers no completion data, so that has to be added later */ },
|
||||||
this->bhp(),
|
this->bhp(),
|
||||||
|
|||||||
Reference in New Issue
Block a user