Changeset 5279
- Timestamp:
- May 6, 2008, 3:54:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/test_tsunami_okada.py
r5275 r5279 249 249 tsunami = Quantity(domain) 250 250 tsunami.set_values(Ts) 251 <<<<<<< .mine 252 interpolation_points=[] 253 ======= 251 254 252 255 #k=0.0 … … 265 268 # Here's a faster way - try that in the first test 266 269 interpolation_points=[] 270 >>>>>>> .r5278 267 271 k=0.0 268 272 for i in range(0,6): … … 275 279 k=k+4000 276 280 281 <<<<<<< .mine 277 282 Z=tsunami.get_values(interpolation_points=interpolation_points, 278 283 location='edges') 284 285 stage = -Z # FIXME(Ole): Why the sign flip? 286 # Displacement in fortran code is looking downward 287 #print 'c est fini' 288 #print tmp 289 #print 'hello',stage 290 assert allclose(stage,tmp,atol=1.e-3) 291 ======= 292 Z=tsunami.get_values(interpolation_points=interpolation_points, 293 location='edges') 294 >>>>>>> .r5278 279 295 280 296 stage = -Z # FIXME(Ole): Why the sign flip?
Note: See TracChangeset
for help on using the changeset viewer.