-
Notifications
You must be signed in to change notification settings - Fork 12
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
Document use of rc
to add pseudo-atoms in Molecule
s
#236
Comments
We don't include anything like rc[:atomic_masses][:VOID] = 0. |
Thanks for your explanation. That is a more general way to add custom atomic masses. Perhaps this should be documented in the molecules chapter of the documentation? |
Yes, that is a very good idea. |
rc
to add pseudo-atoms in Molecule
s
I would like to define a nitrogen molecule with charges derived from the TraPPE force field. In this setup, point charges of -0.482e are placed on the two nitrogen atoms, and to maintain charge neutrality, a point charge of +0.964e is placed at the center of mass of the nitrogen molecule. This dummy site should have zero mass. Here are my atoms.csv and charges.csv files:
atoms.csv
charges.csv
However, when I run
molecule = Molecule("N2")
, I encounter the following error:I believe this error occurs because the atomic mass of VOID is not defined. I suggest adding the atomic mass of VOID as zero to the append_atomic_masses() function so that a more general molecule definition can be supported.
The text was updated successfully, but these errors were encountered: