From 4e55e8c91284141323ff6015fa487cc83813a286 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Tue, 24 Apr 2012 13:48:00 +0200 Subject: [PATCH] Minor change to computeWDP() interface. --- examples/wells_example.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/wells_example.cpp b/examples/wells_example.cpp index f57b4d46a..ea126dbaa 100644 --- a/examples/wells_example.cpp +++ b/examples/wells_example.cpp @@ -57,8 +57,7 @@ int main(int argc, char** argv) { computeTotalMobilityOmega(incomp_properties, all_cells, state.saturation(), totmob, omega); std::vector wdp; - std::vector densities(incomp_properties.density(), incomp_properties.density() + incomp_properties.numPhases()); - computeWDP(*wells.c_wells(), *grid.c_grid(), state.saturation(), densities, wdp); + computeWDP(*wells.c_wells(), *grid.c_grid(), state.saturation(), incomp_properties.density(), wdp, true); std::vector src; Opm::FlowBCManager bcs;