I have a system containing water, perchlorate ions and Sodium ions. I am having trouble figuring the atom selection format for the water and perchlorate molecules. Separate selections for the O and H in the water molecules is possible, however for the water molecule as a whole, it isn't. The trajectory (position file) is obtained from cp2k and is in XYZ format.
System indexing:
1) 0-299: water
2) 300-310: ClO4
3) 310-311: Na
Selection of the Na and Cl atoms: name Na (or) name Cl generates results.
However using: index < 300, I am unable to select the water molecules. The error: " Each selected atom should belong to a separate molecule " is seen.
What is the best way to make the necessary selection.
Thank you!
Greetings,
I have a system containing water, perchlorate ions and Sodium ions. I am having trouble figuring the atom selection format for the water and perchlorate molecules. Separate selections for the O and H in the water molecules is possible, however for the water molecule as a whole, it isn't. The trajectory (position file) is obtained from cp2k and is in XYZ format.
System indexing: 1) 0-299: water 2) 300-310: ClO4 3) 310-311: Na
Selection of the Na and Cl atoms: name Na (or) name Cl generates results. However using: index < 300, I am unable to select the water molecules. The error: " Each selected atom should belong to a separate molecule " is seen.
What is the best way to make the necessary selection. Thank you!