Changeset 3632


Ignore:
Timestamp:
Sep 20, 2006, 3:05:04 PM (18 years ago)
Author:
ole
Message:

Changed gravity back to 9.8 as unit tests in shallow_water depend on it.
Change this later.

Location:
anuga_core/source/anuga
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/config.py

    r3619 r3632  
    4040
    4141manning = 0.3  #Manning's friction coefficient
    42 g = 9.81       #Gravity
     42#g = 9.80665       #Gravity
     43g = 9.8
    4344#g(phi) = 9780313 * (1 + 0.0053024 sin(phi)**2 - 0.000 0059 sin(2*phi)**2) micro m/s**2, where phi is the latitude
    4445#The 'official' average is 9.80665
  • anuga_core/source/anuga/shallow_water/test_shallow_water_domain.py

    r3563 r3632  
    99
    1010from shallow_water_domain import *
    11 
    1211
    1312
     
    28832882        assert allclose(domain.quantities['stage'].centroid_values[:4],
    28842883                        [0.00206836, 0.01296714, 0.00363415, 0.01438924])
     2884        #print domain.quantities['xmomentum'].centroid_values[:4]
    28852885        assert allclose(domain.quantities['xmomentum'].centroid_values[:4],
    28862886                        [0.01360154, 0.00671133, 0.01264578, 0.00648503])
Note: See TracChangeset for help on using the changeset viewer.