Changeset 6452


Ignore:
Timestamp:
Mar 4, 2009, 3:28:24 PM (15 years ago)
Author:
steve
Message:

Just storing any changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/anuga_1d/dry_dam_vel.py

    r6042 r6452  
    7878for j in range(N+1):
    7979    points[j] = j*cell_len
    80        
    81 domain = Domain(points)
    82    
     80
     81boundary = {}
     82boundary[0,0] = 'left'
     83boundary[N-1,1] = 'right'
     84
     85domain = Domain(points, boundary = boundary)
     86
    8387domain.set_quantity('stage', stage)
    84 domain.set_boundary({'exterior': Reflective_boundary(domain)})
     88
     89Br =  Reflective_boundary(domain)
     90domain.set_boundary({'left':  Br, 'right': Br})
    8591domain.order = 2
    8692domain.set_timestepping_method('euler')
Note: See TracChangeset for help on using the changeset viewer.