New interface methods rsMax() in BlackoilPropsAdInterface.

Notes:
 - Interface was already present, just disabled.
 - Class BlackoilPropsAd cannot properly implement rsMax() with derivatives,
   and implements only a throw statement.
This commit is contained in:
Atgeirr Flø Rasmussen 2013-05-27 10:26:41 +02:00
parent 78fa581417
commit 5f4167d800
3 changed files with 5 additions and 6 deletions

View File

@ -447,7 +447,6 @@ namespace Opm
}
#if 0
// ------ Rs bubble point curve ------
/// Bubble point curve for Rs as function of oil pressure.
@ -457,6 +456,7 @@ namespace Opm
V BlackoilPropsAd::rsMax(const V& po,
const Cells& cells) const
{
THROW("Method rsMax() not implemented.");
}
/// Bubble point curve for Rs as function of oil pressure.
@ -466,8 +466,8 @@ namespace Opm
ADB BlackoilPropsAd::rsMax(const ADB& po,
const Cells& cells) const
{
THROW("Method rsMax() not implemented.");
}
#endif
// ------ Relative permeability ------

View File

@ -189,7 +189,7 @@ namespace Opm
// ------ Rs bubble point curve ------
#if 0
/// Bubble point curve for Rs as function of oil pressure.
/// \param[in] po Array of n oil pressure values.
/// \param[in] cells Array of n cell indices to be associated with the pressure values.
@ -203,7 +203,7 @@ namespace Opm
/// \return Array of n bubble point values for Rs.
ADB rsMax(const ADB& po,
const Cells& cells) const;
#endif
// ------ Relative permeability ------

View File

@ -198,7 +198,7 @@ namespace Opm
// ------ Rs bubble point curve ------
#if 0
/// Bubble point curve for Rs as function of oil pressure.
/// \param[in] po Array of n oil pressure values.
/// \param[in] cells Array of n cell indices to be associated with the pressure values.
@ -214,7 +214,6 @@ namespace Opm
virtual
ADB rsMax(const ADB& po,
const Cells& cells) const = 0;
#endif
// ------ Relative permeability ------