From 5aeb24433d932b31f25670c16bd8bbf887910294 Mon Sep 17 00:00:00 2001 From: Xavier Raynaud Date: Mon, 3 Sep 2012 14:55:19 +0200 Subject: [PATCH] Added missing initialization of gravity in constructor. --- opm/core/simulator/SimulatorCompressibleTwophase.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/opm/core/simulator/SimulatorCompressibleTwophase.cpp b/opm/core/simulator/SimulatorCompressibleTwophase.cpp index c5a77eb0..7a3635c5 100644 --- a/opm/core/simulator/SimulatorCompressibleTwophase.cpp +++ b/opm/core/simulator/SimulatorCompressibleTwophase.cpp @@ -245,6 +245,7 @@ namespace Opm wells_(wells_manager.c_wells()), src_(src), bcs_(bcs), + gravity_(gravity), psolver_(grid, props, rock_comp, linsolver, param.getDefault("nl_pressure_residual_tolerance", 0.0), param.getDefault("nl_pressure_change_tolerance", 1.0),