Changeset 2784


Ignore:
Timestamp:
Apr 30, 2006, 10:50:49 AM (18 years ago)
Author:
ole
Message:

Slight change of duplicate timestepping fix + comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/domain.py

    r2783 r2784  
    670670                yield(self.time)
    671671               
    672                 if self.time >= finaltime:
    673                     #FIXME (Ole, 30 April 2006): Maybe this will remove
    674                     #duplicate final timesteps?         
     672                if finaltime is not None and abs(self.time - finaltime) < epsilon:             
     673                    # FIXME (Ole, 30 April 2006): Maybe this will remove
     674                    # duplicate final timesteps?               
     675                    # What we really need is to go back to conditions like
     676                    # if finaltime is not None and self.time >= finaltime:
     677                    # as above and then understand fully
     678                    # the two tests that break as a consequence
    675679                    break
    676680                   
Note: See TracChangeset for help on using the changeset viewer.