Opm::WellStatusSnapshot::Entry Struct Reference

#include <WellPerformanceEventTracker.hpp>

Public Member Functions

bool operator== (const Entry &rhs) const
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Public Attributes

WellStatus status {WellStatus::SHUT}
 
std::vector< ConnectionID > openConnections {}
 
std::vector< ConnectionID > closedBelowOffender {}
 
std::vector< int > openCompletions {}
 
int topCompletion {0}
 

Member Function Documentation

◆ operator==()

bool Opm::WellStatusSnapshot::Entry::operator== ( const Entry &  rhs) const
inline

◆ serializeOp()

template<class Serializer >
void Opm::WellStatusSnapshot::Entry::serializeOp ( Serializer &  serializer)
inline

Member Data Documentation

◆ closedBelowOffender

std::vector<ConnectionID> Opm::WellStatusSnapshot::Entry::closedBelowOffender {}

Identity of every connection currently closed only by the reach of a '+CON' workover, rather than by a limit of its own, sorted. WPWE2 does not count them, and a workover that reaches past its offender has closed the well to the bottom.

Referenced by operator==(), and serializeOp().

◆ openCompletions

std::vector<int> Opm::WellStatusSnapshot::Entry::openCompletions {}

Completion number of every connection able to flow, sorted. Only WPWE3 uses this, to ask whether the well is left flowing through its topmost completion alone; that test is over completions, not connections, so the repeats COMPLUMP produces are wanted here.

Referenced by operator==(), and serializeOp().

◆ openConnections

std::vector<ConnectionID> Opm::WellStatusSnapshot::Entry::openConnections {}

Identity of every connection that is currently able to flow, sorted for set operations. WPWE1 and WPWE2 count connections, so they difference these rather than completion numbers: COMPLUMP may map several connections onto one completion and may renumber them mid-run, neither of which opens or closes anything. A cell index repeats across refinement levels, so the level is part of the identity.

Referenced by operator==(), and serializeOp().

◆ status

WellStatus Opm::WellStatusSnapshot::Entry::status {WellStatus::SHUT}

Referenced by operator==(), and serializeOp().

◆ topCompletion

int Opm::WellStatusSnapshot::Entry::topCompletion {0}

Completion number of the well's topmost connection, whether or not it is able to flow. WPWE3 uses this to distinguish bottom-up closure from a well whose only flowing connection still has closed connections above it.

Referenced by operator==(), and serializeOp().


The documentation for this struct was generated from the following file: