Changeset 8435
- Timestamp:
- May 18, 2012, 5:26:16 PM (13 years ago)
- Location:
- trunk/anuga_validation/automated_validation_tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_validation/automated_validation_tests/flow_tests/run_inflow_test_using_flowline.py
r8066 r8435 148 148 149 149 150 msg = 'Predicted depth of flow at 200m was %f, should have been %f ' % (normal_depth, domain_depth)150 msg = 'Predicted depth of flow at 200m was %f, should have been %f \n' % (normal_depth, domain_depth) 151 151 msg += 'Mannings n = %s, slope = %s' % (mannings_n, slope) 152 152 if verbose: 153 print 'Depth at 200m: ANUGA = %f, Mannings = %f' % (domain_depth, normal_depth)154 assert num.allclose(domain_depth,normal_depth, rtol=1.0e- 2), msg153 print 'Depth at 200m: ANUGA = %f, Mannings Normal Depth = %f' % (domain_depth, normal_depth) 154 assert num.allclose(domain_depth,normal_depth, rtol=1.0e-1), msg 155 155 156 156 -
trunk/anuga_validation/automated_validation_tests/urs_mux_files_validation/run_Bf.py
r7877 r8435 63 63 64 64 # convert MUX urs files to an SWW file output 65 #anuga.urs2sww(boundaries_dir_name,boundaries_dir_name, 66 # mint=9200, maxt= 11200, 67 # fail_on_NaN= False, 68 # verbose=True) 69 70 # problems with setting times. Starting with 0 time for now 65 71 anuga.urs2sww(boundaries_dir_name,boundaries_dir_name, 66 mint= 9200, maxt= 11200,72 mint=0.0, maxt= 1920.0, 67 73 fail_on_NaN= False, 68 74 verbose=True) … … 108 114 t0 = time.time() 109 115 110 for t in domain.evolve(yieldstep = 60, finaltime = 1920): 116 117 for t in domain.evolve(yieldstep = 60, finaltime = 1860): 111 118 domain.write_time() 112 119 domain.write_boundary_statistics()
Note: See TracChangeset
for help on using the changeset viewer.