mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Bugfix in computation of the derivatives of the relative permeability.
This commit is contained in:
parent
c2128d6cff
commit
6b267dd871
@ -114,15 +114,17 @@ private:
|
|||||||
return Opm::linearInterpolationDerivative(sw_, krw_, s);
|
return Opm::linearInterpolationDerivative(sw_, krw_, s);
|
||||||
}
|
}
|
||||||
|
|
||||||
double kro_dso(double s) const
|
|
||||||
{
|
|
||||||
return Opm::linearInterpolationDerivative(sw_, krw_, s);
|
|
||||||
}
|
|
||||||
|
|
||||||
double kro(double s) const
|
double kro(double s) const
|
||||||
{
|
{
|
||||||
return Opm::linearInterpolation(so_, kro_, s);
|
return Opm::linearInterpolation(so_, kro_, s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
double kro_dso(double s) const
|
||||||
|
{
|
||||||
|
return Opm::linearInterpolationDerivative(so_, kro_, s);
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<double> sw_;
|
std::vector<double> sw_;
|
||||||
std::vector<double> krw_;
|
std::vector<double> krw_;
|
||||||
std::vector<double> so_;
|
std::vector<double> so_;
|
||||||
|
Loading…
Reference in New Issue
Block a user