Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to compute the partial charges of atoms ? #3

Open
thegodone opened this issue May 30, 2022 · 1 comment
Open

how to compute the partial charges of atoms ? #3

thegodone opened this issue May 30, 2022 · 1 comment

Comments

@thegodone
Copy link

thegodone commented May 30, 2022

Can you provide a dummy example to get atomic partial charges please for an AM1 simple case ?

this line Hf, Etot, Eelec, Enuc, Eiso, EnucAB, e, P, charge, notconverged in test1.py return charge but not sure how to get the atomic partial charges...

I see that you are returning the matrix of orbital / atomic charge, what it the correct operator to apply, sum, max or lower orbital ????

@guoqing-zhou
Copy link
Contributor

guoqing-zhou commented Jan 30, 2023

Atomic charge can be computed from [] (

q = q0 - self.atomic_charges(P) # unit +e, i.e. electron: -1.0
)
q0 is the effective nuclear+core electron charges, atomic_charge(P) gives the number of electrons on each atom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants