Fixed bug in some capPress() implementations (calling wrong function). Doc fix.

This commit is contained in:
Atgeirr Flø Rasmussen
2012-01-27 11:42:05 +01:00
parent ae98a1c9c3
commit a00e8bba3e
6 changed files with 11 additions and 11 deletions

View File

@@ -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);
}