Changeset 4774
- Timestamp:
- Oct 31, 2007, 4:56:17 PM (17 years ago)
- Location:
- anuga_validation/automated_validation_tests/UQ_runup_2006
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/automated_validation_tests/UQ_runup_2006/run_dam.py
r4753 r4774 32 32 def main(): 33 33 34 slope s = [0]35 friction s = [0.01] #can enter multiple frictions eg [0.00, 0.01]36 inital_depth s = [0.2] #can enter multiple initial depths eg [0.1, 0.2]37 gate_position s = [0.75]34 slope= 0 35 friction = 0.01 36 inital_depth = 0.2 37 gate_position = 0.75 38 38 39 return scenario( 0, 0.01, 0.02, 0.75)39 return scenario(slope, friction, inital_depth, gate_position) 40 40 41 41 -
anuga_validation/automated_validation_tests/UQ_runup_2006/validate_uq_runup.py
r4760 r4774 22 22 def test_that_output_is_as_expected(self): 23 23 norm = run_dam.main() 24 self.failUnless(norm <= 0.871, 24 #print "norm",norm 25 self.failUnless(norm <= 0.083, 25 26 'Validation fail.') 26 27
Note: See TracChangeset
for help on using the changeset viewer.