Changeset 3656
 Timestamp:
 Sep 22, 2006, 4:01:28 PM (17 years ago)
 Files:

 3 edited
Legend:
 Unmodified
 Added
 Removed

anuga_core/source/anuga/examples/beach.py
r3563 r3656 20 20 from anuga.shallow_water.shallow_water_domain import Wind_stress 21 21 22 from anuga.abstract_2d_finite_volumes.pmesh2domain import pmesh_to_domain_instance23 22 from anuga.utilities.polygon import read_polygon, Polygon_function 24 23 from math import pi 
anuga_core/source/anuga/examples/beach_parallel.py
r3639 r3656 107 107 # 108 108 Br = Reflective_boundary(domain) 109 Bd = Dirichlet_boundary([1 0, 0.0, 0.0])109 Bd = Dirichlet_boundary([12, 0.0, 0.0]) 110 110 #Bt = Time_boundary(domain, lambda t: [ 3.0*(1+sin(2*pi*t/100)), 0.0, 0.0]) 111 111 … … 130 130 domain = distribute(domain) 131 131 132 Bt = Time_boundary(domain, lambda t: [ 3.0*(1+sin(2*pi*t/100)), 0.0, 0.0])132 Bt = Time_boundary(domain, lambda t: [ 4.0*(1+sin(2*pi*t/50)), 1.0, 0.0]) 133 133 domain.modify_boundary({'ocean': Bt}) 134 134 
anuga_validation/okushiri_2005/okushiri_parallel.py
r3648 r3656 57 57 # Distribute domain 58 58 # 59 if numprocs > 1: 60 domain = distribute(domain) 59 #if numprocs > 1: 60 # domain = distribute(domain) 61 domain = distribute(domain) 61 62 62 63
Note: See TracChangeset
for help on using the changeset viewer.