Changeset 761
- Timestamp:
- Jan 20, 2005, 5:01:12 PM (20 years ago)
- Location:
- inundation/ga/storm_surge/pyvolution
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/shallow_water_ext.c
r760 r761 583 583 } 584 584 585 printf("%d %d [%d] (%d, %d): %.2f %.2f %.2f\n", k, i, ki, n, m,586 ql[0], ql[1], ql[2]);585 //printf("%d %d [%d] (%d, %d): %.2f %.2f %.2f\n", k, i, ki, n, m, 586 // ql[0], ql[1], ql[2]); 587 587 588 588 -
inundation/ga/storm_surge/pyvolution/test_shallow_water.py
r759 r761 382 382 383 383 for name in ['level', 'xmomentum', 'ymomentum']: 384 print name, domain.quantities[name].explicit_update384 #print name, domain.quantities[name].explicit_update 385 385 assert allclose(domain.quantities[name].explicit_update[1], 0) 386 386 … … 1199 1199 domain.order = 1 1200 1200 domain.distribute_to_vertices_and_edges() 1201 print L[1] 1201 1202 assert allclose(L[1], val1) 1202 1203 … … 1204 1205 domain.order = 2 1205 1206 domain.distribute_to_vertices_and_edges() 1207 print L[1] 1206 1208 assert allclose(L[1], [2.2, 4.9, 4.9]) 1207 1209 … … 2370 2372 #------------------------------------------------------------- 2371 2373 if __name__ == "__main__": 2372 suite = unittest.makeSuite(TestCase,'test_ compute_fluxes0')2374 suite = unittest.makeSuite(TestCase,'test_distribute_basic') 2373 2375 #suite = unittest.makeSuite(TestCase,'test_boundary_conditionsII') 2374 2376 runner = unittest.TextTestRunner()
Note: See TracChangeset
for help on using the changeset viewer.