Commit a3db5a11 authored by Leon Pyka's avatar Leon Pyka
Browse files

generating more realizations of reference

parent cf048f34
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -78,11 +78,11 @@ def run_a_simulation_fuse(seed, crack_length, offset):
if __name__=="__main__":
    list_of_seeds =  []
    offset = 5
    crack_lengths = [10, 20, 30, 40, 50]
    crack_lengths = [10, 20, 40]
    for seed in range(1010, 1050):
            list_of_seeds.append(seed) 
    for crack_length in crack_lengths:
        with Pool(10) as p:
        with Pool(40) as p:
            results = p.map(partial(run_a_simulation_fuse, crack_length=crack_length, offset=offset), list_of_seeds)
        #   for data in results:
        #       mn.datman.save_simulation_output(data[0], data[1], data[2], data[3], targetdirectory="./", suffix="", overwritemode=False)