Changeset 8328 for trunk/anuga_work/development/mem_time_tests/triangles/rectanglecross/runcairns.py
- Timestamp:
- Feb 2, 2012, 1:08:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/development/mem_time_tests/triangles/rectanglecross/runcairns.py
r8326 r8328 13 13 scenariodir = add_directories(home, ["data","mem_time_test", "triangles", 14 14 "rectanglecross"]) 15 store ='store.txt'16 file_path_store = os.path.join(scenariodir, store)17 storen ='storen.txt'18 file_path_storen = os.path.join(scenariodir, storen)19 15 storea = 'storea.txt' 20 16 file_path_storea = os.path.join(scenariodir, storea) 21 17 22 #read the matrix size(number of triangles) and the map size from these files 23 f = open(file_path_store,'r+') 24 a = int(f.readline()) 25 f.close() 26 f = open(file_path_storen,'r+') 27 l = float(f.readline()) 28 f.close() 18 #set up the variables for the simulation out put and log files 19 a = int(sys.argv[1]) 20 l = float(sys.argv[2]) 29 21 30 #set up the variables for the simulation out put and log files31 22 scenariodirV = add_directories(home, ["data","mem_time_test", "triangles", 32 23 "rectanglecross", "triangles-" + str(a) +"-"+ str(l)])
Note: See TracChangeset
for help on using the changeset viewer.