Ignore:
Timestamp:
Jun 7, 2010, 10:19:51 AM (13 years ago)
Author:
hudson
Message:

Adapted validation tests to use new API.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/automated_validation_tests/UQ_runup_2006/run_dam.py

    r7774 r7795  
    1717
    1818# Related major packages
    19 from anuga.shallow_water import Domain, Reflective_boundary, \
    20      Dirichlet_boundary, Time_boundary, File_boundary
     19import anuga
     20
    2121from anuga.abstract_2d_finite_volumes.region import Set_region
    2222from anuga.fit_interpolate.interpolate import interpolate_sww2csv, \
     
    5555    # Setup computational domain
    5656    #-------------------------------------------------------------------------
    57     domain = Domain(project.mesh_filename, use_cache = False, verbose = False)
     57    domain = anuga.Domain(project.mesh_filename, use_cache = False)
    5858    domain.set_name(project.basename)
    5959    domain.set_datadir('.')
     
    8080                                 location = 'unique vertices')
    8181
    82     Br = Reflective_boundary(domain)
    83     Bd = Dirichlet_boundary([0,0,0])  # to drain the water out.
     82    Br = anuga.Reflective_boundary(domain)
     83    Bd = anuga.Dirichlet_boundary([0,0,0])  # to drain the water out.
    8484    domain.set_boundary( {'wall': Br, 'edge': Bd} )
    8585
Note: See TracChangeset for help on using the changeset viewer.