Minor modification of residual formula (equivalent to the old).

This commit is contained in:
Atgeirr Flø Rasmussen
2012-03-30 16:11:07 +02:00
parent c53fb7eb15
commit 5e57cb6041

View File

@@ -154,7 +154,7 @@ namespace Opm
}
double operator()(double s) const
{
return s - s0 + dtpv*(outflux*tm.fracFlow(s, cell) + influx) + dtpv*s*comp_term;
return s - s0 + dtpv*(outflux*tm.fracFlow(s, cell) + influx + s*comp_term);
}
};