mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use shared SummaryState in eclwellmanager
This commit is contained in:
parent
a0aa7fcc2b
commit
6edba5d94e
@ -104,7 +104,7 @@ public:
|
|||||||
void init()
|
void init()
|
||||||
{
|
{
|
||||||
const Opm::Schedule& deckSchedule = simulator_.vanguard().schedule();
|
const Opm::Schedule& deckSchedule = simulator_.vanguard().schedule();
|
||||||
Opm::SummaryState summaryState;
|
const auto& summaryState = simulator_.vanguard().summaryState();
|
||||||
// create the wells which intersect with the current process' grid
|
// create the wells which intersect with the current process' grid
|
||||||
for (size_t deckWellIdx = 0; deckWellIdx < deckSchedule.numWells(); ++deckWellIdx)
|
for (size_t deckWellIdx = 0; deckWellIdx < deckSchedule.numWells(); ++deckWellIdx)
|
||||||
{
|
{
|
||||||
@ -135,8 +135,8 @@ public:
|
|||||||
{
|
{
|
||||||
const Opm::EclipseState& eclState = simulator_.vanguard().eclState();
|
const Opm::EclipseState& eclState = simulator_.vanguard().eclState();
|
||||||
const Opm::Schedule& deckSchedule = simulator_.vanguard().schedule();
|
const Opm::Schedule& deckSchedule = simulator_.vanguard().schedule();
|
||||||
|
const auto& summaryState = simulator_.vanguard().summaryState();
|
||||||
unsigned episodeIdx = simulator_.episodeIndex();
|
unsigned episodeIdx = simulator_.episodeIndex();
|
||||||
Opm::SummaryState summaryState;
|
|
||||||
WellConnectionsMap wellCompMap;
|
WellConnectionsMap wellCompMap;
|
||||||
computeWellConnectionsMap_(episodeIdx, wellCompMap);
|
computeWellConnectionsMap_(episodeIdx, wellCompMap);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user