changed: refactor LogOutputHelper::fip

only do one output per call. allow passing the name of the
regions to process
This commit is contained in:
Arne Morten Kvarving
2023-11-08 15:39:41 +01:00
parent 895074eb3b
commit 44ce054492
4 changed files with 33 additions and 42 deletions

View File

@@ -269,7 +269,8 @@ FIPNUM report region 1 pressure dependent pore volume = 50 RB
current.add("FIPNUM", Opm::Inplace::Phase::PressurePV, 1, 6.0);
current.add("FIPNUM", Opm::Inplace::Phase::DynamicPoreVolume, 1, 8.0);
helper.fip(current, initial);
helper.fip(current, initial, "");
helper.fip(current, initial, "FIPNUM");
std::string data = trimStream(str);
BOOST_CHECK_EQUAL(data, reference);
}