From 13ea365c64af87099ed1cad46e4fd6885df46feb Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Fri, 6 Jun 2014 14:07:14 +0200 Subject: [PATCH] Glue in support for the grid property modifier keywords this basically means using Opm::EclipseState instead of the raw deck for these keywords. with this, property modifiers like ADD, MULT, COPY and friends are supported for at least the PERM* keywords. If additional keywords are required these can be added relatively easily as well. no ctest regressions have been observed with this patch on my machine. --- examples/sim_2p_comp_reorder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/sim_2p_comp_reorder.cpp b/examples/sim_2p_comp_reorder.cpp index cd38b4b6b..59240a885 100644 --- a/examples/sim_2p_comp_reorder.cpp +++ b/examples/sim_2p_comp_reorder.cpp @@ -99,12 +99,12 @@ try if (use_deck) { std::string deck_filename = param.get("deck_filename"); deck = parser->parseFile(deck_filename); - eclipseState.reset(new EclipseState(deck)); + // Grid init grid.reset(new GridManager(deck)); // Rock and fluid init - props.reset(new BlackoilPropertiesFromDeck(deck, *grid->c_grid(), param)); + props.reset(new BlackoilPropertiesFromDeck(deck, eclipseState, *grid->c_grid(), param)); // check_well_controls = param.getDefault("check_well_controls", false); // max_well_control_iterations = param.getDefault("max_well_control_iterations", 10); // Rock compressibility.