SAVE keyword should apply to previous timestep

This commit is contained in:
Joakim Hove
2021-09-08 14:52:21 +02:00
parent 1216b4f638
commit 00bd0866f2
5 changed files with 24 additions and 10 deletions

View File

@@ -1501,8 +1501,11 @@ TSTEP
BOOST_CHECK_MESSAGE( !sched.write_rst_file(ts),
"Must NOT write restart for report step " << ts);
BOOST_CHECK_MESSAGE( sched.write_rst_file( 12 ),
"Must write restart for report step 12");
BOOST_CHECK_MESSAGE( sched.write_rst_file(11),
"Must write restart for report step 11");
BOOST_CHECK_MESSAGE( !sched.write_rst_file( 12 ),
"Must NOT write restart for report step 12");
}