Skip to content

Commit

Permalink
Correctly initialize shift parameter.
Browse files Browse the repository at this point in the history
Signed-off-by: MtoLStoN <[email protected]>
  • Loading branch information
MtoLStoN committed Oct 4, 2023
1 parent 0edcffd commit 99ba5cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cpcmx/cpxcalc.f90
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ subroutine calculate_solvation(self,model,error,T,max_cycle,conv_crit)
return
end select

!! Initialize shift
self%dG_shift=self%param%shift

self%dG_res=(self%chem_pot_sol+self%param%omega*self%solute%near)/autokcal

end subroutine calculate_solvation
Expand Down Expand Up @@ -322,4 +325,4 @@ subroutine calc_sigma(self,writesigma)
end subroutine calc_sigma


end module cpxcalc
end module cpxcalc

0 comments on commit 99ba5cf

Please sign in to comment.