PORV is treated more as a regular keyword

This commit is contained in:
Joakim Hove
2019-12-10 14:06:14 +01:00
parent 0f609083c3
commit 2fb0cd599b
5 changed files with 61 additions and 65 deletions

View File

@@ -155,6 +155,8 @@ static Opm::Deck createValidIntDeck() {
"25*0.25 /\n"
"PERMY\n"
" 25*1.0 /\n"
"PERMX\n"
" 25*1.0 /\n"
"PORO\n"
" 25*1.0 /\n"
"MULTNUM \n"
@@ -265,6 +267,7 @@ BOOST_AUTO_TEST_CASE(Test_OPERATER) {
const auto& permy = fp.get_global<double>("PERMY");
BOOST_CHECK_EQUAL( porv[0], 0.50 );
BOOST_CHECK_EQUAL( porv[1], 1.00 );
BOOST_CHECK_EQUAL( permx[0] / permy[0], 0.50 );
BOOST_CHECK_EQUAL( permx[1], permy[1]);
}