Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/loftytopping/PyBox
Browse files Browse the repository at this point in the history
  • Loading branch information
loftytopping committed Oct 23, 2020
2 parents 5223928 + cb08695 commit a83e72d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Parse_eqn_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -3366,7 +3366,7 @@ def write_partitioning_section_fortran(total_length_y,num_bins,num_species):
f.write(' Inverse_Kn(:)=1.0D0/Kn(:)\n')
f.write(' Correction_part1(:)=(1.33D0+0.71D0*Inverse_Kn(:))/(1.0D0+Inverse_Kn(:))\n')
f.write(' Correction_part2(:)=(4.0D0*(1.0D0-alpha_d_org(:)))/(3.0D0*alpha_d_org(:))\n')
f.write(' Correction_part3(:)=1.0E0+(Correction_part2(:)+Correction_part2(:))*Kn(:)\n')
f.write(' Correction_part3(:)=1.0E0+(Correction_part1(:)+Correction_part2(:))*Kn(:)\n')
f.write(' Correction(:)=1.0D0/Correction_part3(:)\n')
f.write('\n')
f.write(' ! 6) Kelvin factor \n')
Expand Down Expand Up @@ -3585,7 +3585,7 @@ def write_partitioning_section_fortran_ignore(total_length_y,num_bins,num_specie
f.write(' Inverse_Kn(:)=1.0D0/Kn(:)\n')
f.write(' Correction_part1(:)=(1.33D0+0.71D0*Inverse_Kn(:))/(1.0D0+Inverse_Kn(:))\n')
f.write(' Correction_part2(:)=(4.0D0*(1.0D0-alpha_d_org(:)))/(3.0D0*alpha_d_org(:))\n')
f.write(' Correction_part3(:)=1.0E0+(Correction_part2(:)+Correction_part2(:))*Kn(:)\n')
f.write(' Correction_part3(:)=1.0E0+(Correction_part1(:)+Correction_part2(:))*Kn(:)\n')
f.write(' Correction(:)=1.0D0/Correction_part3(:)\n')
f.write('\n')
f.write(' ! 6) Kelvin factor \n')
Expand Down

0 comments on commit a83e72d

Please sign in to comment.