Fix unit conversion of fip totals (pav) again.

This was (accidentally?) introduced in c880efae5b (labelled
"mostly eliminate Eigen in the FIP and VFP code"). As it is neither
present in flow_ebos nor in flow_mpi and was previously removed in
ccec17f8 (labelled "Fixed missing unit conversion for total fluid in place")
I assume that this is a bug.
This commit is contained in:
Markus Blatt 2017-01-09 15:31:40 +01:00
parent c292dd4975
commit fb55aedf4b

View File

@ -737,7 +737,7 @@ namespace Opm
tmp2 += geo_.poreVolume()[i] * hydrocarbon[i];
}
totals[5] = geo_.poreVolume().sum();
totals[6] = unit::convert::to(tmp/tmp2, unit::barsa);
totals[6] = tmp/tmp2;
}
else
{