@@ -820,14 +820,14 @@ def _get_bos_data_from_restart(self, source_rate, bos_conc):
820820
821821 def _get_start_data (self ):
822822 """
823- This function fetches the starting state of a simulation in terms of the
824- simulation physical time at which to start and the index at which the
825- depletion simulation should start. When no previous results exist,
826- the time and index are both zero. When previous results do exist, it
827- returns the time corresponding to beginning the previous results last
828- ``
829- timestep and the index as N-1 where N is the number of previous StepResults
830- found in the previous Results. (as expected from 0-based indexing)
823+ This function fetches the starting state of a depletion simulation
824+ in terms of the simulation physical time at which to start and the
825+ index at which the depletion simulation should start. When no
826+ previous results exist, the time and index are both zero. When
827+ previous results do exist, it returns the time corresponding to
828+ beginning the previous results last timestep and the index as
829+ N-1 where N is the number of previous StepResults found in
830+ the previous Results (as expected from 0-based indexing).
831831
832832 Note that the openmc.deplete.Results.time object is a list of float with
833833 [t,t+dt] where t is the beginning of timestep time and t+dt is the end of
@@ -840,7 +840,7 @@ def _get_start_data(self):
840840 Returns
841841 _______
842842 start_time : float
843- index: index
843+ index: int
844844 """
845845 if self .operator .prev_res is None :
846846 return 0.0 , 0
0 commit comments