Changeset 1631
- Timestamp:
- Jul 22, 2005, 3:31:44 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/parallel/run_sw_lost_mass.py
r1629 r1631 7 7 # 8 8 # 9 # 9 10 # Authors: Linda Stals, Steve Roberts and Matthew Hardy, 10 11 # June 2005 … … 13 14 # 14 15 ######################################################### 16 17 18 ############################################## 19 # Set a small yieldstep (say 0.005) to see 20 # lose of conservation 21 # Set it to a larger value (say 0.1) and have 22 # consevation "restored" 23 ############################################## 24 yieldstep = 0.005 25 yieldstep = 0.1 26 finaltime = 100.0 27 15 28 import sys 16 29 import time … … 94 107 95 108 print 'No of elements %d'%(domain.number_of_elements) 96 yieldstep = 0.005 97 #yieldstep = 0.1 98 finaltime = 200.0 109 99 110 100 111 for t in domain.evolve(yieldstep = yieldstep, finaltime = finaltime):
Note: See TracChangeset
for help on using the changeset viewer.