From 13334f97d7ab910e0ccc29a70da97fe443e7c860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Wed, 16 May 2012 11:37:31 +0200 Subject: [PATCH] Renamed initStateTwophaseFromDeck() -> initStateFromDeck(). - Made initStateFromDeck() into a template taking arbitrary properties. Implementation detail: - initWaterOilContact() was also templatized on props. - initHydrostaticPressure() is now overloaded on prop interface types. --- examples/wells_example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/wells_example.cpp b/examples/wells_example.cpp index 2c0709918..18c051aab 100644 --- a/examples/wells_example.cpp +++ b/examples/wells_example.cpp @@ -58,7 +58,7 @@ int main(int argc, char** argv) Opm::TwophaseState state; - initStateTwophaseFromDeck(*grid.c_grid(), incomp_properties, parser, gravity[2], state); + initStateFromDeck(*grid.c_grid(), incomp_properties, parser, gravity[2], state); // Compute phase mobilities std::vector phase_mob;