Ignore:
Timestamp:
Feb 2, 2012, 1:08:40 PM (12 years ago)
Author:
pittj
Message:

metalog and ex1 merge added, code is now correct across all major experiments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_work/development/mem_time_tests/triangles/rectanglecross/runcairns.py

    r8326 r8328  
    1313scenariodir = add_directories(home, ["data","mem_time_test", "triangles",
    1414                                     "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)
    1915storea = 'storea.txt'
    2016file_path_storea = os.path.join(scenariodir, storea)
    2117
    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
     19a = int(sys.argv[1])
     20l = float(sys.argv[2])
    2921
    30 #set up the variables for the simulation out put and log files
    3122scenariodirV = add_directories(home, ["data","mem_time_test", "triangles",
    3223                                       "rectanglecross", "triangles-" + str(a) +"-"+ str(l)])
Note: See TracChangeset for help on using the changeset viewer.