Skip to content

Commit

Permalink
fixed small typo and added __init__.py file
Browse files Browse the repository at this point in the history
  • Loading branch information
MakeLikePaperrr committed Aug 26, 2022
1 parent f1ea9a0 commit 35392ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Empty file added __init__.py
Empty file.
4 changes: 2 additions & 2 deletions preprocessing_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def frac_preprocessing(frac_data_raw, char_len, output_dir='', filename_base='ou
f.close()

filename_aper_raw = os.path.join(output_dir, filename_base + '_raw_lc_' + str(char_len) + '_aperture.txt')
f = open(filename_aper_clean, "w+")
f = open(filename_aper_raw, "w+")
for aper in apertures_raw:
f.write('{:16.15f} \n'.format(aper))
f.close()
Expand All @@ -249,7 +249,7 @@ def frac_preprocessing(frac_data_raw, char_len, output_dir='', filename_base='ou
create_geo_file(act_frac_sys=act_frac_sys_raw, filename=filename_geo_raw, decimals=decimals,
height_res=height_res, char_len=char_len * char_len_mult, box_data=box_data,
char_len_boundary=char_len_boundary * char_len_mult)
print('DONE creating geo-file for cleaned network (input for gmsh)\n')
print('DONE creating geo-file for raw network (input for gmsh)\n')

if mesh_raw:
print('START meshing raw network')
Expand Down

0 comments on commit 35392ff

Please sign in to comment.