Changeset 1129


Ignore:
Timestamp:
Mar 23, 2005, 9:19:58 AM (20 years ago)
Author:
ole
Message:

Removed exception raised when minimal timestep has been reached and replaced it with a warning

File:
1 edited

Legend:

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

    r1102 r1129  
    531531
    532532                if self.order == 1:
    533                     msg = 'Too small timestep %.16f reached ' %timestep
     533                    msg = 'WARNING: Too small timestep %.16f reached '\
     534                          %timestep
    534535                    msg += 'even after %d steps of 1 order scheme'\
    535536                           %self.max_smallsteps
    536 
    537                     raise msg
     537                    print msg
     538                    timestep = min_timestep  #Try enforing min step
     539
     540                    #raise msg
    538541                else:
    539542                    #Try to overcome situation by switching to 1 order
Note: See TracChangeset for help on using the changeset viewer.