Fixed bug in computation of effectiveTotalMobility.

This commit is contained in:
Xavier Raynaud
2012-04-25 09:23:59 +02:00
parent 3ecb7bf88c
commit af79b9555c

View File

@@ -313,7 +313,7 @@ namespace Opm
bool if_with_der) const
{
double mob[2];
double dmob_ds[2];
double dmob_ds[4];
double dmobwat_dc;
effectiveMobilitiesBoth(c, cmax, visc, relperm, drelperm_ds,
mob, dmob_ds, dmobwat_dc, if_with_der);