mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix unit conversion of fip totals (pav) again.
This was (accidentally?) introduced inc880efae5b
(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 inccec17f8
(labelled "Fixed missing unit conversion for total fluid in place") I assume that this is a bug.
This commit is contained in:
parent
c292dd4975
commit
fb55aedf4b
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user