From 80463a2e408de964541c3d2a8d77e87a7621d05f Mon Sep 17 00:00:00 2001 From: osae Date: Thu, 26 Jun 2014 15:06:47 +0200 Subject: [PATCH] Included inititalisation of surface volumes. --- opm/core/simulator/initStateEquil_impl.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opm/core/simulator/initStateEquil_impl.hpp b/opm/core/simulator/initStateEquil_impl.hpp index 553b3596..611c5cd4 100644 --- a/opm/core/simulator/initStateEquil_impl.hpp +++ b/opm/core/simulator/initStateEquil_impl.hpp @@ -22,6 +22,7 @@ #include #include +#include #include #include @@ -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); }