Changeset 3854 for anuga_validation/okushiri_2005/extract_timeseries.py
- Timestamp:
- Oct 25, 2006, 4:54:28 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/okushiri_2005/extract_timeseries.py
r3850 r3854 21 21 plotting = True 22 22 23 plotting = False 23 24 24 25 #------------------------- … … 42 43 'ch7': 1.121816242516758e-04, 43 44 'ch9': 1.249543278366778e-04} 45 46 # old limiters 47 expected_covariances = {'Boundary': 5.288601162783020386e-05, 48 'ch5': 1.167001054284431472e-04, 49 'ch7': 1.121474766904651861e-04, 50 'ch9': 1.249244820847215335e-04} 44 51 45 52 … … 81 88 # Read and interpolate model output 82 89 #-------------------------------------------------- 83 #f = file_function('okushiri_new_limiters.sww', 90 #f = file_function('okushiri_new_limiters.sww', #The best so far 84 91 #f = file_function('okushiri_as2005_with_mxspd=0.1.sww', 85 92 f = file_function(project.output_filename, … … 111 118 print 'Result is better than expected by: %.18e'\ 112 119 %(res-expected_covariances[name]) 113 print 'Result = %.18e' %res114 120 print 'Expect = %.18e' %expected_covariances[name] 115 121 elif res > expected_covariances[name]+eps: 116 print 'FAIL: %.18e' %res 122 print 'FAIL: Result is worse than expected by: %.18e'\ 123 %(res-expected_covariances[name]) 124 print 'Expect = %.18e' %expected_covariances[name] 117 125 else: 118 126 pass
Note: See TracChangeset
for help on using the changeset viewer.