Changeset 4541 for anuga_core
- Timestamp:
- Jun 12, 2007, 5:18:26 PM (18 years ago)
- Location:
- anuga_core/source/anuga
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/quantity.py
r4536 r4541 1477 1477 #Replace python version with c implementations 1478 1478 1479 from quantity_ext import average_vertex_values 1480 1479 1481 from quantity_ext import compute_gradients, limit,\ 1480 extrapolate_second_order, interpolate_from_vertices_to_edges, update,\ 1481 average_vertex_values 1482 extrapolate_second_order, interpolate_from_vertices_to_edges, update -
anuga_core/source/anuga/abstract_2d_finite_volumes/util.py
r4517 r4541 1446 1446 # initialise the array to easily find the index of the first loner 1447 1447 loners=arange(2*N, N, -1) # if N=3 [6,5,4] 1448 1449 1448 for t in triangles: 1450 1449 for vert in t: -
anuga_core/source/anuga/shallow_water/data_manager.py
r4535 r4541 4715 4715 number_of_times = 0 4716 4716 starttime = times 4717 #print "times",times 4718 #print "starttime", starttime 4717 #times = ensure_numeric([]) 4719 4718 outfile.starttime = starttime 4720 4719 # dimension definitions … … 4766 4765 outfile.variables[q+Write_sww.RANGE][1] = \ 4767 4766 -outfile.variables[q+Write_sww.RANGE][1] 4768 outfile.variables['time'][:] = times #Store time relative 4767 4768 if type(times) is list or type(times) is ArrayType: 4769 outfile.variables['time'][:] = times #Store time relative 4769 4770 4770 4771 if verbose: -
anuga_core/source/anuga/shallow_water/test_data_manager.py
r4526 r4541 1108 1108 1109 1109 def test_sww2dem_asc_elevation_depth(self): 1110 """Test that sww information can be converted correctly to asc/prj 1110 """ 1111 test_sww2dem_asc_elevation_depth(self): 1112 Test that sww information can be converted correctly to asc/prj 1111 1113 format readable by e.g. ArcView 1112 1114 """ … … 1296 1298 1297 1299 def test_export_grid(self): 1298 """Test that sww information can be converted correctly to asc/prj 1300 """ 1301 test_export_grid(self): 1302 Test that sww information can be converted correctly to asc/prj 1299 1303 format readable by e.g. ArcView 1300 1304 """ … … 1378 1382 1379 1383 def test_export_gridII(self): 1380 """Test that sww information can be converted correctly to asc/prj 1384 """ 1385 test_export_gridII(self): 1386 Test that sww information can be converted correctly to asc/prj 1381 1387 format readable by e.g. ArcView 1382 1388 """ … … 1506 1512 1507 1513 def test_export_gridIII(self): 1508 """Test that sww information can be converted correctly to asc/prj 1514 """ 1515 test_export_gridIII 1516 Test that sww information can be converted correctly to asc/prj 1509 1517 format readable by e.g. ArcView 1510 1518 """ … … 1520 1528 1521 1529 #Setup 1530 1522 1531 self.domain.set_name('tegIII') 1523 1532 … … 1531 1540 1532 1541 self.domain.geo_reference = Geo_reference(56,308500,6189000) 1533 1542 1534 1543 sww = get_dataobject(self.domain) 1535 1544 sww.store_connectivity() … … 6938 6947 #suite = unittest.makeSuite(Test_Data_Manager,'test_sww_header') 6939 6948 #suite = unittest.makeSuite(Test_Data_Manager,'test_export_grid_parallel') 6940 #suite = unittest.makeSuite(Test_Data_Manager,'test_store_parameters') 6949 #suite = unittest.makeSuite(Test_Data_Manager,'test_export_gridIII') 6950 suite = unittest.makeSuite(Test_Data_Manager,'test') 6941 6951 if len(sys.argv) > 1 and sys.argv[1][0].upper() == 'V': 6942 6952 Test_Data_Manager.verbose=True … … 6947 6957 else: 6948 6958 pass 6949 suite = unittest.makeSuite(Test_Data_Manager,'test') 6950 runner = unittest.TextTestRunner()#(verbosity=2) 6959 runner = unittest.TextTestRunner() #verbosity=2) 6951 6960 runner.run(suite) 6952 6961
Note: See TracChangeset
for help on using the changeset viewer.