Changeset 8435


Ignore:
Timestamp:
May 18, 2012, 5:26:16 PM (12 years ago)
Author:
steve
Message:

Made a few changes to the automated validation tests.

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  
    148148       
    149149       
    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)
    151151        msg += 'Mannings n = %s, slope = %s' % (mannings_n, slope)
    152152        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), msg
     153            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
    155155
    156156       
  • trunk/anuga_validation/automated_validation_tests/urs_mux_files_validation/run_Bf.py

    r7877 r8435  
    6363
    6464# 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
    6571anuga.urs2sww(boundaries_dir_name,boundaries_dir_name,
    66            mint=9200, maxt= 11200,
     72           mint=0.0, maxt= 1920.0,
    6773           fail_on_NaN= False,
    6874           verbose=True)
     
    108114t0 = time.time()
    109115
    110 for t in domain.evolve(yieldstep = 60, finaltime = 1920):
     116
     117for t in domain.evolve(yieldstep = 60, finaltime = 1860):
    111118    domain.write_time()
    112119    domain.write_boundary_statistics()
Note: See TracChangeset for help on using the changeset viewer.