Skip to content

Commit

Permalink
Small mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
henryw7 committed Jan 3, 2025
1 parent 62e6a42 commit 19acf4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gpu4pyscf/solvent/hessian/pcm.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,14 +281,14 @@ def append_dDT_dot_q(dD, q, output, atmlst, gridslice):
for i_xyz in range(3):
dV_on_molecule_dx[i_atom, i_xyz, :, :] += int1e_grids(mol, grid_coords, charges = dqdx[i_atom, i_xyz, :], direct_scf_tol = 1e-14, charge_exponents = charge_exp**2)

elif pcmobj.method.upper() in ['IEF-PCM', 'IEFPCM', 'SS(V)PE', 'SMD']:
elif pcmobj.method.upper() in ['IEF-PCM', 'IEFPCM', 'SMD']:
dF, dA = get_dF_dA(pcmobj.surface)
dSii = get_dSii(pcmobj.surface, dF)
dF = None

dD, dS = get_dD_dS(pcmobj.surface, with_D=True, with_S=True)

# dR = f_eps/(2*pi) * (dD*A + D*dA),
# dR = f_eps/(2*pi) * (dD*A + D*dA)
# dK = dS - f_eps/(2*pi) * (dD*A*S + D*dA*S + D*A*dS)
f_eps_over_2pi = f_epsilon/(2.0*PI)

Expand Down

0 comments on commit 19acf4d

Please sign in to comment.