Ignore:
Timestamp:
Aug 31, 2012, 8:38:25 PM (13 years ago)
Author:
davies
Message:

Major experimental changes to balanced_dev

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_work/development/gareth/experimental/balanced_dev/runup.py

    r8353 r8547  
    1515
    1616from math import sin, pi, exp
     17from balanced_dev import *
     18#from anuga_tsunami import *
    1719#from anuga.shallow_water_balanced2.swb2_domain import Domain as Domain
    1820#from anuga.shallow_water.shallow_water_domain import Domain as Domain
     
    2325#from swb_domain import *
    2426#path.append('/home/gareth/storage/anuga_clean/anuga_jan12/trunk/anuga_work/development/gareth/balanced_basic')
    25 from balanced_basic.swb2_domain import *
     27#from balanced_basic.swb2_domain import *
    2628#---------
    2729#Setup computational domain
     
    6062Bt=anuga.Transmissive_boundary(domain)          # Continue all values of boundary -- not used in this example
    6163Bd=anuga.Dirichlet_boundary([-0.2,0.,0.])       # Constant boundary values -- not used in this example
    62 Bw=anuga.Time_boundary(domain=domain,
    63         f=lambda t: [(0.0*sin(t*2*pi)-0.1)*exp(-t)-0.1,0.0,0.0]) # Time varying boundary -- get rid of the 0.0 to do a runup.
     64Bw=anuga.Time_boundary(domain=domain, function=lambda t: [(0.0*sin(t*2*pi)-0.1)*exp(-t)-0.1,0.0,0.0]) # Time varying boundary -- get rid of the 0.0 to do a runup.
    6465
    6566#----------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.