Changeset 7877 for trunk/anuga_validation
- Timestamp:
- Jun 29, 2010, 11:26:45 AM (15 years ago)
- Location:
- trunk/anuga_validation
- Files:
-
- 1 deleted
- 86 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_validation/automated_validation_tests/flow_tests/test_inflow_using_flowline.py
r7846 r7877 28 28 length = 400. 29 29 width = 20. 30 dx = dy = 1.25# Resolution: of grid on both axes30 dx = dy = 5.0 # Resolution: of grid on both axes 31 31 32 32 points, vertices, boundary = anuga.rectangular_cross(int(length/dx), \ … … 111 111 print domain.volumetric_balance_statistics() 112 112 113 anuga.sww2dem('inflow_flowline_test.sww', 114 name_out='sww2dem_out.asc', 115 quantity='xmomentum', 116 cellsize=0.075, 117 easting_min=0, 118 easting_max=400, 119 northing_min=0, 120 northing_max=20, 121 reduction=max, 122 verbose=True) 123 113 124 114 125 #---------------------------------------------------------------------- … … 143 154 assert num.allclose(domain_depth,normal_depth, rtol=1.0e-2), msg 144 155 156 145 157 146 -
trunk/anuga_validation/convergence_study/dam_break.py
r7846 r7877 76 76 77 77 def height(x,y): 78 z = zeros(len(x), Float)78 z = zeros(len(x), float) 79 79 for i in range(len(x)): 80 80 if x[i]<=50000.0:
Note: See TracChangeset
for help on using the changeset viewer.