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.
This commit is contained in:
Andreas Lauser 2014-06-06 14:07:14 +02:00
parent bd81627dd3
commit db8b68b1d1

View File

@ -36,15 +36,15 @@ try
// Read input file
Opm::ParserPtr parser(new Opm::Parser());
Opm::DeckConstPtr deck = parser->parseFile(file_name);
Opm::EclipseStateConstPtr eclipseState(new Opm::EclipseState(deck));
std::cout << "Done!" << std::endl;
// Setup grid
GridManager grid(deck);
// Define rock and fluid properties
IncompPropertiesFromDeck incomp_properties(deck, *grid.c_grid());
IncompPropertiesFromDeck incomp_properties(deck, eclipseState, *grid.c_grid());
RockCompressibility rock_comp(deck);
EclipseStateConstPtr eclipseState(new Opm::EclipseState(deck));
// Finally handle the wells
WellsManager wells(eclipseState , 0 , *grid.c_grid(), incomp_properties.permeability());