mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add empty() methods for updateEclWell and wellPI in ebos
This commit is contained in:
parent
ff51c2d7ee
commit
aca3b246ae
@ -1410,6 +1410,33 @@ protected:
|
||||
/ rhoWaterSurface;
|
||||
}
|
||||
|
||||
void
|
||||
updateEclWell(int, int)
|
||||
{
|
||||
throw std::logic_error("updateEclWell() method not implemented for class eclpeacemanwell");
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
updateEclWell(int, const std::string&) {
|
||||
throw std::logic_error("updateEclWell() method not implemented for class eclpeacemanwell");
|
||||
}
|
||||
|
||||
|
||||
double
|
||||
wellPI(int) const
|
||||
{
|
||||
throw std::logic_error("wellPI() method not implemented for class eclpeacemanwell");
|
||||
}
|
||||
|
||||
double
|
||||
wellPI(const std::string& ) const
|
||||
{
|
||||
throw std::logic_error("wellPI() method not implemented for class eclpeacemanwell");
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*!
|
||||
* \brief Compute the volumetric phase rate of the complete well given a bottom hole
|
||||
* pressure.
|
||||
|
@ -620,6 +620,35 @@ public:
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
updateEclWell(int, int)
|
||||
{
|
||||
throw std::logic_error("wellPI() method not implemented for class eclwellmanager");
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
updateEclWell(int, const std::string&) {
|
||||
throw std::logic_error("wellPI() method not implemented for class eclwellmanager");
|
||||
}
|
||||
|
||||
|
||||
double
|
||||
wellPI(int ) const
|
||||
{
|
||||
throw std::logic_error("wellPI() method not implemented for class eclwellmanager");
|
||||
}
|
||||
|
||||
double
|
||||
wellPI(const std::string& ) const
|
||||
{
|
||||
throw std::logic_error("wellPI() method not implemented for class eclwellmanager");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
bool wellTopologyChanged_(const Opm::EclipseState& eclState OPM_UNUSED,
|
||||
const Opm::Schedule& schedule,
|
||||
@ -751,6 +780,7 @@ protected:
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void updateWellParameters_(unsigned reportStepIdx, const WellConnectionsMap& wellConnections)
|
||||
{
|
||||
const auto& deckSchedule = simulator_.vanguard().schedule();
|
||||
|
Loading…
Reference in New Issue
Block a user