Changeset 9053


Ignore:
Timestamp:
Feb 16, 2014, 7:59:18 PM (11 years ago)
Author:
davies
Message:

Updates

Location:
trunk/anuga_work/development/gareth/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_work/development/gareth/tests/channel_floodplain/channel_floodplain1.py

    r9022 r9053  
    1010import numpy
    1111from anuga.structures.inlet_operator import Inlet_operator
     12
     13from anuga import create_domain_from_regions
    1214#from anuga import *
    1315#from swb_domain import domain
     
    1517#from balanced_basic import *
    1618#from balanced_dev import *
    17 from bal_and import *
     19#from bal_and import *
    1820#from anuga_tsunami import *
    1921#from balanced_basic.swb2_domain import *
     
    8587
    8688domain.set_name('channel_floodplain1') # Output name
    87 domain.set_store_centroids(True)
    8889#domain.set_store_vertices_uniquely(True)
    8990#domain.use_edge_limiter=False
     
    132133domain.set_quantity('friction', man_n) # Constant friction
    133134domain.set_quantity('stage', stagetopo) # Use function for stage
    134 domain.set_minimum_allowed_height(0.01) #
     135
    135136#def steady_uh_calc():
    136137#    # Calculate a boundary condition potentially suitable for steady state flows.
  • trunk/anuga_work/development/gareth/tests/runup_sinusoid/runup_sinusoid.py

    r9042 r9053  
    2929#domain.set_timestepping_method('euler')
    3030domain.set_flow_algorithm('DE1')
     31domain.set_quantities_to_be_stored({'stage': 2, 'xmomentum': 2,
     32         'ymomentum': 2, 'elevation': 2})
    3133domain.minimum_storable_height=1.0e-03
    3234domain.set_store_vertices_uniquely()
Note: See TracChangeset for help on using the changeset viewer.