Commit 16dc89da authored by Leon Pyka's avatar Leon Pyka
Browse files

density reference a_40

parent 9ac48c81
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -79,14 +79,13 @@ def run_a_simulation_fuse(seed, crack_length, offset, targetdirectory):
if __name__=="__main__":
    list_of_seeds =  []
    offset = 5
    crack_lengths = [20]
    crack_lengths = [40]
    for seed in range(1010, 1050):
            list_of_seeds.append(seed) 
     
# destination = f"/FASTTEMP/p7/lpyka/hierarchical_interface/dummy_test/"
    for crack_length in crack_lengths:
        destination = f"/FASTTEMP/p7/lpyka/hierarchical_interface/6_precrack_density_offset/a_{crack_length}"
        with Pool(40) as p:
        destination = f"/FASTTEMP/p7/lpyka/hierarchical_interface/6_precrack_density_offset/a_{crack_length}/"
        with Pool(20) as p:
            p.map(partial(run_a_simulation_fuse, crack_length=crack_length, offset=offset, targetdirectory=destination), list_of_seeds)
        #   for data in results:
        #       mn.datman.save_simulation_output(data[0], data[1], data[2], data[3], targetdirectory="./", suffix="", overwritemode=False)