Skip to content

Commit

Permalink
Bugfix: atomic number in esp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wxj6000 authored Jan 22, 2025
1 parent 6ea5c6c commit 19634e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpu4pyscf/pop/esp.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def vdw_surface(mol, scales=[1.0], density=1.0*radii.BOHR**2, rad=R_VDW):
Generate vdw surface of molecules, in Bohr
'''
coords = mol.atom_coords(unit='B')
charges = mol.atom_charges()
charges = [gto.charge(sym) for sym in mol.elements]
atom_radii = rad[charges]

surface_points = []
Expand Down

0 comments on commit 19634e9

Please sign in to comment.