Changeset 8607 for trunk/anuga_work/development/gareth/experimental
- Timestamp:
- Nov 8, 2012, 2:25:20 PM (12 years ago)
- Location:
- trunk/anuga_work/development/gareth/experimental/anuga_tsunami
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/development/gareth/experimental/anuga_tsunami/runup.py
r8523 r8607 23 23 #from swb_domain import * 24 24 #path.append('/home/gareth/storage/anuga_clean/anuga_jan12/trunk/anuga_work/development/gareth/balanced_basic') 25 from balanced_basic.swb2_domain import *25 from anuga_tsunami.swb2_domain import * 26 26 #--------- 27 27 #Setup computational domain … … 61 61 Bd=anuga.Dirichlet_boundary([-0.2,0.,0.]) # Constant boundary values -- not used in this example 62 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.63 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. 64 64 65 65 #---------------------------------------------- -
trunk/anuga_work/development/gareth/experimental/anuga_tsunami/swb2_domain.py
r8523 r8607 140 140 print '# it really does improve things' 141 141 print '#' 142 print '# Gareth Davies' 143 print '#' 142 144 print '##########################################################################' 143 145
Note: See TracChangeset
for help on using the changeset viewer.