From e30031dc777f1ffe60c3cb46ee04336f8f6da1a0 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Tue, 25 Feb 2014 15:10:46 +0100 Subject: [PATCH] Added missing namespace qualifiers. --- opm/core/simulator/initState_impl.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/core/simulator/initState_impl.hpp b/opm/core/simulator/initState_impl.hpp index 5bcbbd486..32758f0e3 100644 --- a/opm/core/simulator/initState_impl.hpp +++ b/opm/core/simulator/initState_impl.hpp @@ -441,7 +441,7 @@ namespace Opm const double ref_p = param.getDefault("ref_pressure", 100.0)*unit::barsa; const double rho = props.density()[0]*init_saturation + props.density()[1]*(1.0 - init_saturation); const double dens[2] = { rho, rho }; - const double ref_z = getCoordinate(begin_cell_centroids, dimensions - 1); + const double ref_z = UgGridHelpers::getCoordinate(begin_cell_centroids, dimensions - 1); initHydrostaticPressure(number_of_cells, begin_cell_centroids, dimensions, dens, ref_z, gravity, ref_z, ref_p, state); } else { @@ -450,7 +450,7 @@ namespace Opm const double ref_p = param.getDefault("ref_pressure", 100.0)*unit::barsa; const double rho = props.density()[1]; const double dens[2] = { rho, rho }; - const double ref_z = getCoordinate(begin_cell_centroids, dimensions - 1); + const double ref_z = UgGridHelpers::getCoordinate(begin_cell_centroids, dimensions - 1); initHydrostaticPressure(number_of_cells, begin_cell_centroids, dimensions, dens, ref_z, gravity, ref_z, ref_p, state); }