Changeset 1187


Ignore:
Timestamp:
Apr 2, 2005, 6:56:49 PM (20 years ago)
Author:
ole
Message:

Comment about doubly stored final timestep

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/domain.py

    r1178 r1187  
    412412        if yieldstep is None:
    413413            yieldstep = max_timestep
     414        else:
     415            yieldstep = float(yieldstep)
    414416
    415417        self.order = self.default_order
     
    461463            #Yield results
    462464            if finaltime is not None and abs(self.time - finaltime) < epsilon:
     465           
     466                #FIXME: There is a rare situation where the
     467                #final time step is stored twice. Can we make a test?
     468
    463469                # Yield final time and stop
    464470                yield(self.time)
     
    537543                           %self.max_smallsteps
    538544                    print msg
    539                     timestep = min_timestep  #Try enforing min step
     545                    timestep = min_timestep  #Try enforcing min_step
    540546
    541547                    #raise msg
Note: See TracChangeset for help on using the changeset viewer.