mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 07:07:42 -05:00
Clarify the naming of setSlaveData()
This commit is contained in:
1 parent
ee73a49de2
commit
6d00912ec2
1 file changed
+4
@@ -157,6 +157,10 @@ struct SimulatorFixture
|
||||
rc_master.resizeNextReportDates(2);
|
||||
}
|
||||
|
||||
// Sets the slave start date and the next report time offset for the given slave number
|
||||
// NOTE: The method name is kept short as setSlaveDate() instead of a longer descriptive name
|
||||
// like setSlaveStartDateAndNextReportTimeOffset() because the method is called multiple times
|
||||
// in the test cases and the shorter name makes the test cases more readable.
|
||||
void setSlaveData(int slave_number, double slave_start_date, double report_time_step_size)
|
||||
{
|
||||
rc_master.setSlaveStartDate(slave_number, slave_start_date);
|
||||
|
||||
Reference in new issue
Block a user