mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
Pass PhaseUsage to WellState::report
This commit is contained in:
parent
2261999c1e
commit
afaa3c5669
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user