- Timestamp:
- Mar 11, 2008, 8:43:22 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/test_data_manager.py
r4924 r5162 248 248 249 249 range = fid.variables['xmomentum_range'][:] 250 assert allclose(range,[0,0.4695096]) or\ 251 allclose(range,[0,0.47790655]) # Old slope limiters 250 251 252 253 assert allclose(range,[0,0.4695096]) or \ 254 allclose(range,[0,0.47790655]) or\ 255 allclose(range,[0,0.46941957]) 252 256 253 257 range = fid.variables['ymomentum_range'][:] 254 258 #assert allclose(range,[0,0.02174380]) 259 255 260 assert allclose(range,[0,0.02174439]) or\ 256 allclose(range,[0,0.02283983]) # Old slope limiters 261 allclose(range,[0,0.02283983]) or\ 262 allclose(range,[0,0.0217342]) # Old slope limiters 257 263 258 264 fid.close() … … 324 330 325 331 extrema = fid.variables['xmomentum.extrema'][:] 326 assert allclose(extrema,[-0.06062178, 0.478 86313])332 assert allclose(extrema,[-0.06062178, 0.47873023]) 327 333 328 334 extrema = fid.variables['ymomentum.extrema'][:] 329 assert allclose(extrema,[0.00, 0.062 41221])335 assert allclose(extrema,[0.00, 0.0625786]) 330 336 331 337 time_interval = fid.variables['extrema.time_interval'][:]
Note: See TracChangeset
for help on using the changeset viewer.