ACTIONX: Determine required summary keywords
This commit is contained in:
@@ -1043,6 +1043,11 @@ TSTEP
|
||||
const auto& glo = sched.glo(0);
|
||||
BOOST_CHECK(!glo.has_group("PLAT-A"));
|
||||
}
|
||||
std::unordered_set<std::string> required_summary;
|
||||
action1.required_summary(required_summary);
|
||||
BOOST_CHECK_EQUAL( required_summary.count("WWCT"), 1);
|
||||
BOOST_CHECK_EQUAL( required_summary.count("FPR"), 1);
|
||||
|
||||
|
||||
Action::Result action_result(true);
|
||||
sched.applyAction(0, action1, action_result);
|
||||
@@ -1094,6 +1099,9 @@ TSTEP
|
||||
const auto& well = sched.getWell("PROD1", 0);
|
||||
BOOST_CHECK_EQUAL( well.getWellPIScalingFactor(1.0), 1.0);
|
||||
}
|
||||
std::unordered_set<std::string> required_summary;
|
||||
action1.required_summary(required_summary);
|
||||
BOOST_CHECK_EQUAL( required_summary.count("WWCT"), 1);
|
||||
|
||||
Action::Result action_result(true);
|
||||
sched.applyAction(0, action1, action_result);
|
||||
|
||||
Reference in New Issue
Block a user