Add empty() methods for updateEclWell and wellPI in ebos

This commit is contained in:
Joakim Hove 2021-02-15 09:35:07 +01:00
parent ff51c2d7ee
commit aca3b246ae
2 changed files with 57 additions and 0 deletions

View File

@ -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.

View File

@ -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();