Fixed bug in some capPress() implementations (calling wrong function). Doc fix.
This commit is contained in:
@@ -106,7 +106,7 @@ namespace Opm
|
||||
/// array must be valid before calling.
|
||||
/// The P^2 derivative matrix is
|
||||
/// m_{ij} = \frac{dkr_i}{ds^j},
|
||||
/// and is output in Fortran order (m_00 m_10 m_20 m01 ...)
|
||||
/// and is output in Fortran order (m_00 m_10 m_20 m_01 ...)
|
||||
void IncompPropertiesBasic::relperm(const int n,
|
||||
const double* s,
|
||||
const int* /*cells*/,
|
||||
@@ -125,14 +125,14 @@ namespace Opm
|
||||
/// array must be valid before calling.
|
||||
/// The P^2 derivative matrix is
|
||||
/// m_{ij} = \frac{dpc_i}{ds^j},
|
||||
/// and is output in Fortran order (m_00 m_10 m_20 m01 ...)
|
||||
/// and is output in Fortran order (m_00 m_10 m_20 m_01 ...)
|
||||
void IncompPropertiesBasic::capPress(const int n,
|
||||
const double* s,
|
||||
const int* /*cells*/,
|
||||
double* pc,
|
||||
double* dpcds) const
|
||||
{
|
||||
satprops_.relperm(n, s, pc, dpcds);
|
||||
satprops_.capPress(n, s, pc, dpcds);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user