Ignore:
Timestamp:
Mar 11, 2008, 8:43:22 PM (17 years ago)
Author:
steve
Message:

Updated some methods for quantity. Looks like we can use old
limiting system with larger values of beta.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/test_data_manager.py

    r4924 r5162  
    248248       
    249249        range = fid.variables['xmomentum_range'][:]
    250         assert allclose(range,[0,0.4695096]) or\
    251                allclose(range,[0,0.47790655]) # Old slope limiters
     250
     251
     252
     253        assert allclose(range,[0,0.4695096]) or \
     254               allclose(range,[0,0.47790655]) or\
     255               allclose(range,[0,0.46941957])
    252256       
    253257        range = fid.variables['ymomentum_range'][:]
    254258        #assert allclose(range,[0,0.02174380])
     259       
    255260        assert allclose(range,[0,0.02174439]) or\
    256                allclose(range,[0,0.02283983]) # Old slope limiters
     261               allclose(range,[0,0.02283983]) or\
     262               allclose(range,[0,0.0217342]) # Old slope limiters
    257263       
    258264        fid.close()
     
    324330
    325331        extrema = fid.variables['xmomentum.extrema'][:]
    326         assert allclose(extrema,[-0.06062178, 0.47886313])
     332        assert allclose(extrema,[-0.06062178, 0.47873023])
    327333       
    328334        extrema = fid.variables['ymomentum.extrema'][:]
    329         assert allclose(extrema,[0.00, 0.06241221])       
     335        assert allclose(extrema,[0.00, 0.0625786])       
    330336
    331337        time_interval = fid.variables['extrema.time_interval'][:]
Note: See TracChangeset for help on using the changeset viewer.