Changeset 8557


Ignore:
Timestamp:
Sep 5, 2012, 11:30:53 AM (13 years ago)
Author:
steve
Message:

Problem with viewkeys

Location:
trunk/anuga_core/source/anuga_parallel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga_parallel/distribute_mesh.py

    r8555 r8557  
    827827    #intersect with boundary
    828828
    829     subboundary.update( (k,boundary[k]) for k in subboundary.viewkeys() & boundary.viewkeys() )
     829    # FIXME SR: these keys should be viewkeys but need python 2.7
     830    subboundary.update( (k,boundary[k]) for k in set(subboundary.keys()) & set(boundary.keys()) )
    830831
    831832    #print subboundary
  • trunk/anuga_core/source/anuga_parallel/run_parallel_sw_rectangular_cross.py

    r8555 r8557  
    4141    length = 2.0
    4242    width = 2.0
    43     dx = dy = 0.005
    44     dx = dy = 0.005
    45     #dx = dy  = 0.5
     43    #dx = dy = 0.005
     44    dx = dy = 0.0025
     45    #dx = dy  = 0.1
    4646    domain = rectangular_cross_domain(int(length/dx), int(width/dy),
    4747                                              len1=length, len2=width)
     
    134134
    135135yieldstep = 0.005
    136 finaltime = 0.00
     136finaltime = 0.01
    137137
    138138barrier()
Note: See TracChangeset for help on using the changeset viewer.