Changeset 8267


Ignore:
Timestamp:
Dec 6, 2011, 7:28:38 PM (11 years ago)
Author:
steve
Message:

Fixed sww stitchup code

File:
1 edited

Legend:

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

    r8266 r8267  
    1212if __name__ == "__main__":
    1313
    14     filename = 'merimbula'
    15     np = 2;
     14    filename = '100y'
     15    np = 4;
    1616    verbose = True
    1717
    1818
    1919    output = filename+".sww"
    20     swwfiles = " ".join(filename+"P_"+str(np)+"_"+str(v)+".sww" for v in range(np))
     20    swwfiles = [filename+"_P"+str(v)+"_"+str(np)+".sww" for v in range(np)]
    2121
     22    print swwfiles
     23   
    2224    sww_merge(swwfiles, output, verbose)
Note: See TracChangeset for help on using the changeset viewer.