Fixed bug in some capPress() implementations (calling wrong function). Doc fix.
This commit is contained in:
@@ -256,7 +256,7 @@ namespace Opm
|
||||
double* pc,
|
||||
double* dpcds) const
|
||||
{
|
||||
satprops_.relperm(n, s, pc, dpcds);
|
||||
satprops_.capPress(n, s, pc, dpcds);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -122,7 +122,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 ...)
|
||||
virtual void relperm(const int n,
|
||||
const double* s,
|
||||
const int* cells,
|
||||
@@ -138,7 +138,7 @@ 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 ...)
|
||||
virtual void capPress(const int n,
|
||||
const double* s,
|
||||
const int* cells,
|
||||
|
||||
@@ -222,7 +222,7 @@ namespace Opm
|
||||
double* pc,
|
||||
double* dpcds) const
|
||||
{
|
||||
satprops_.relperm(n, s, pc, dpcds);
|
||||
satprops_.capPress(n, s, pc, dpcds);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -118,7 +118,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 ...)
|
||||
virtual void relperm(const int n,
|
||||
const double* s,
|
||||
const int* cells,
|
||||
@@ -134,7 +134,7 @@ 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 ...)
|
||||
virtual void capPress(const int n,
|
||||
const double* s,
|
||||
const int* cells,
|
||||
|
||||
@@ -109,7 +109,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 ...)
|
||||
virtual void relperm(const int n,
|
||||
const double* s,
|
||||
const int* cells,
|
||||
@@ -125,7 +125,7 @@ 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 ...)
|
||||
virtual void capPress(const int n,
|
||||
const double* s,
|
||||
const int* cells,
|
||||
|
||||
@@ -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