GconinjeWrapper: return raw instead of SI rates

the wrapper could be a bit more sophisticated and do the conversion
internally, but the new wells management code seems to ignore the
wrapper anyway, so there is no real point in investing time into that
(yet).
This commit is contained in:
Andreas Lauser
2014-02-13 14:23:56 +01:00
parent b386b0b944
commit c972e6c0c1

View File

@@ -80,8 +80,8 @@ namespace Opm {
* If the control mode does not use the volumetric surface
* rate, this is the upper limit.
*/
double surfaceTargetRate(int wellGroupIdx) const
{ return m_keyword->getRecord(wellGroupIdx)->getItem(3)->getSIDouble(0); }
double rawSurfaceTargetRate(int wellGroupIdx) const
{ return m_keyword->getRecord(wellGroupIdx)->getItem(3)->getRawDouble(0); }
/*!
* \brief Return the target for the volumetric reservoir rate of a well group
@@ -89,8 +89,8 @@ namespace Opm {
* If the control mode does not use the volumetric reservoir
* rate, this is the upper limit.
*/
double reservoirTargetRate(int wellGroupIdx) const
{ return m_keyword->getRecord(wellGroupIdx)->getItem(4)->getSIDouble(0); }
double rawReservoirTargetRate(int wellGroupIdx) const
{ return m_keyword->getRecord(wellGroupIdx)->getItem(4)->getRawDouble(0); }
/*!
* \brief The target fraction for reinjection