-
Notifications
You must be signed in to change notification settings - Fork 21
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
tip4p/ice #20
Comments
To make a 3x3x3 units of a ice Ih (1h) of TIP4P/Ice water in GROMACS .gro format:
|
Ok thanks. I originally wrote in this form, but when I converted the gro file to a data file with Ovito, I found that the mass of the virtual atom is 1, when in fact the mass of the virtual atom in tip4p/ice should be close to 0. It should be a problem that Ovito is not precise enough in the conversion. |
Thank you for your report, but as far as I understand, the mass of the virtual site of TIP4P/Ice is correctly set to zero in the recent versions of GenIce2. Here is a short code to calculate the center of mass of a TIP4P/Ice molecule: import numpy as np
import genice2.molecules.ice
water = genice2.molecules.ice.Molecule()
# calculate the center of mass
print(np.array([16, 1, 1, 0]) @ water.sites_) The result is |
if I want the structure to satisfy the tip4p/ice force field,what kind of command should I use?
The text was updated successfully, but these errors were encountered: