Skip to content

Commit

Permalink
Update run_parallel_sw_rectangular_cross.py
Browse files Browse the repository at this point in the history
Change setting of domain name
  • Loading branch information
stoiver committed Nov 20, 2018
1 parent 0297f30 commit 00976ec
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/parallel/run_parallel_sw_rectangular_cross.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
domain.set_quantity('elevation', lambda x,y : -1.0-x )
domain.set_quantity('stage', 1.0)
domain.set_flow_algorithm('DE0')
domain.set_name('sw_rectangle')
domain.print_statistics()
else:
domain = None
Expand Down Expand Up @@ -87,10 +88,6 @@

if myid == 0 : print 'after parallel domain'



domain.set_name('sw_rectangle')

#Boundaries
T = Transmissive_boundary(domain)
R = Reflective_boundary(domain)
Expand Down

0 comments on commit 00976ec

Please sign in to comment.