Included inititalisation of surface volumes.

This commit is contained in:
osae 2014-06-26 15:06:47 +02:00
parent c1732b0b32
commit b22d3bdbf1

View File

@ -22,6 +22,7 @@
#include <opm/core/grid.h>
#include <opm/core/props/BlackoilPhases.hpp>
#include <opm/core/simulator/initState.hpp>
#include <cassert>
#include <cmath>
@ -769,7 +770,7 @@ namespace Opm
state.saturation() = convertSats(isc.saturation());
state.gasoilratio() = isc.rs();
state.rv() = isc.rv();
// TODO: state.surfacevol() must be computed from s, rs, rv.
initBlackoilSurfvolUsingRSorRV(grid, props, state);
}