Using API get3DProperties()

This commit is contained in:
Pål Grønås Drange
2016-04-11 15:13:38 +02:00
parent eb700248ed
commit f1a31ca5e4
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ BOOST_AUTO_TEST_CASE(Processing)
Opm::ParseContext parseContext({{ ParseContext::PARSE_RANDOM_SLASH , InputError::IGNORE }});
Opm::DeckConstPtr deck = parser->parseFile(filename, parseContext);
std::shared_ptr<EclipseState> eclstate (new Opm::EclipseState(deck, parseContext));
const auto& porv = eclstate->getEclipseProperties().getDoubleGridProperty("PORV").getData();
const auto& porv = eclstate->get3DProperties().getDoubleGridProperty("PORV").getData();
EclipseGridConstPtr eclgrid = eclstate->getEclipseGrid();
BOOST_CHECK_EQUAL(eclgrid->getMinpvMode(), MinpvMode::EclSTD);