mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -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:
@@ -447,7 +447,6 @@ namespace Opm
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if 0
|
|
||||||
// ------ Rs bubble point curve ------
|
// ------ Rs bubble point curve ------
|
||||||
|
|
||||||
/// Bubble point curve for Rs as function of oil pressure.
|
/// Bubble point curve for Rs as function of oil pressure.
|
||||||
@@ -457,6 +456,7 @@ namespace Opm
|
|||||||
V BlackoilPropsAd::rsMax(const V& po,
|
V BlackoilPropsAd::rsMax(const V& po,
|
||||||
const Cells& cells) const
|
const Cells& cells) const
|
||||||
{
|
{
|
||||||
|
THROW("Method rsMax() not implemented.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Bubble point curve for Rs as function of oil pressure.
|
/// Bubble point curve for Rs as function of oil pressure.
|
||||||
@@ -466,8 +466,8 @@ namespace Opm
|
|||||||
ADB BlackoilPropsAd::rsMax(const ADB& po,
|
ADB BlackoilPropsAd::rsMax(const ADB& po,
|
||||||
const Cells& cells) const
|
const Cells& cells) const
|
||||||
{
|
{
|
||||||
|
THROW("Method rsMax() not implemented.");
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
// ------ Relative permeability ------
|
// ------ Relative permeability ------
|
||||||
|
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ namespace Opm
|
|||||||
|
|
||||||
|
|
||||||
// ------ Rs bubble point curve ------
|
// ------ Rs bubble point curve ------
|
||||||
#if 0
|
|
||||||
/// Bubble point curve for Rs as function of oil pressure.
|
/// Bubble point curve for Rs as function of oil pressure.
|
||||||
/// \param[in] po Array of n oil pressure values.
|
/// \param[in] po Array of n oil pressure values.
|
||||||
/// \param[in] cells Array of n cell indices to be associated with the 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.
|
/// \return Array of n bubble point values for Rs.
|
||||||
ADB rsMax(const ADB& po,
|
ADB rsMax(const ADB& po,
|
||||||
const Cells& cells) const;
|
const Cells& cells) const;
|
||||||
#endif
|
|
||||||
|
|
||||||
// ------ Relative permeability ------
|
// ------ Relative permeability ------
|
||||||
|
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ namespace Opm
|
|||||||
|
|
||||||
|
|
||||||
// ------ Rs bubble point curve ------
|
// ------ Rs bubble point curve ------
|
||||||
#if 0
|
|
||||||
/// Bubble point curve for Rs as function of oil pressure.
|
/// Bubble point curve for Rs as function of oil pressure.
|
||||||
/// \param[in] po Array of n oil pressure values.
|
/// \param[in] po Array of n oil pressure values.
|
||||||
/// \param[in] cells Array of n cell indices to be associated with the pressure values.
|
/// \param[in] cells Array of n cell indices to be associated with the pressure values.
|
||||||
@@ -214,7 +214,6 @@ namespace Opm
|
|||||||
virtual
|
virtual
|
||||||
ADB rsMax(const ADB& po,
|
ADB rsMax(const ADB& po,
|
||||||
const Cells& cells) const = 0;
|
const Cells& cells) const = 0;
|
||||||
#endif
|
|
||||||
|
|
||||||
// ------ Relative permeability ------
|
// ------ Relative permeability ------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user