mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-30 11:06:55 -06:00
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:
parent
78fa581417
commit
5f4167d800
@ -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 ------
|
||||
|
||||
|
@ -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 ------
|
||||
|
||||
|
@ -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 ------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user