Changeset 2932 for inundation/examples/beach.py
- Timestamp:
- May 19, 2006, 5:52:28 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/examples/beach.py
r2866 r2932 37 37 domain.default_order = 2 38 38 print "Output being written to " + domain.get_datadir() + sep + \ 39 domain.filename + "_size%d." %len(domain) +domain.format39 domain.filename + domain.format 40 40 41 41 … … 110 110 domain.set_quantity('stage', 111 111 Polygon_function( [(water, -1.5), 112 112 (land, -10)] )) 113 113 114 114 print 'Set friction' 115 domain.set_quantity('friction', 0.0 8)115 domain.set_quantity('friction', 0.03) 116 116 117 117 print domain.get_extent() … … 130 130 131 131 if tt > 0.98: 132 return 26000*tt*ones(N, Float)132 return 100*tt*ones(N, Float) 133 133 else: 134 134 return zeros(N, Float) 135 135 136 domain.forcing_terms.append(Wind_stress(gust, 135))136 #domain.forcing_terms.append(Wind_stress(gust, 135)) 137 137 138 138 … … 147 147 148 148 if tt > 0.95: 149 return 22000*tt*ones(N, Float)149 return 100*tt*ones(N, Float) 150 150 else: 151 151 return zeros(N, Float) … … 167 167 return zeros(N, Float) 168 168 169 domain.forcing_terms.append(Wind_stress(gust3, 255))169 #domain.forcing_terms.append(Wind_stress(gust3, 255)) 170 170 171 171
Note: See TracChangeset
for help on using the changeset viewer.