Loading 3_density_offset/density_offset.py +2 −2 Original line number Diff line number Diff line Loading @@ -70,9 +70,9 @@ def run_a_simulation_fuse(seed, offset): if __name__=="__main__": list_of_parameters = [] offset = 1 for seed in range(1000, 1010): for seed in range(1000, 1050): list_of_parameters.append(seed) with Pool(10) as p: with Pool(50) as p: results = p.map(partial(run_a_simulation_fuse, offset=offset), list_of_parameters) # for data in results: # mn.datman.save_simulation_output(data[0], data[1], data[2], data[3], targetdirectory="./", suffix="", overwritemode=False) Loading 3_density_offset/parse_iv_data.py +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ if __name__ == "__main__": offset = input("Offset: ") base_path = f"/FASTTEMP/p7/lpyka/hierarchical_interface/3_density_offset/offset_{offset}" clear_txt_file() for seed in range(1000,1010): for seed in range(1000,1050): file_name = f"FDB_PARSOL_SIRC-FCVC_SOG-IVCG_HFBA_CPC-NIC_-_{seed}.h5" full_path = base_path + "/" + file_name iv_data = get_iv_data(full_path) Loading Loading
3_density_offset/density_offset.py +2 −2 Original line number Diff line number Diff line Loading @@ -70,9 +70,9 @@ def run_a_simulation_fuse(seed, offset): if __name__=="__main__": list_of_parameters = [] offset = 1 for seed in range(1000, 1010): for seed in range(1000, 1050): list_of_parameters.append(seed) with Pool(10) as p: with Pool(50) as p: results = p.map(partial(run_a_simulation_fuse, offset=offset), list_of_parameters) # for data in results: # mn.datman.save_simulation_output(data[0], data[1], data[2], data[3], targetdirectory="./", suffix="", overwritemode=False) Loading
3_density_offset/parse_iv_data.py +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ if __name__ == "__main__": offset = input("Offset: ") base_path = f"/FASTTEMP/p7/lpyka/hierarchical_interface/3_density_offset/offset_{offset}" clear_txt_file() for seed in range(1000,1010): for seed in range(1000,1050): file_name = f"FDB_PARSOL_SIRC-FCVC_SOG-IVCG_HFBA_CPC-NIC_-_{seed}.h5" full_path = base_path + "/" + file_name iv_data = get_iv_data(full_path) Loading