<div dir="ltr">I am trying to implement q-TIP4P/F (a flexible, 4-point water model: J. Chem. Phys. 131, 024501 (2009)) into cp2k using the VIRTUAL_SITE module to keep the negative charge in place. I was able to implement TIP4P (a rigid model) without any problem, but I get the following error when I try to use q-TIP4P/F:<br><br> ********************************************************* <br>*** ERROR in get_molecule (MODULE molecule_types_new) *** <br>********************************************************* <br><br> *** The pointer lci is not associated *** <br><br>I assume this is because VIRTUAL_SITE only works with constrained molecules. If so, is there another way to constrain the negative charge for a flexible 4-point model? <br><br>I’ve inserted the key areas of my input file for TIP4P (which works) and q-TIP4P/F (which doesn’t work) below. I’ve also attached a full input file. <br><br>Thanks, <br><br><div>-- <br>Daniel Sadowsky <br>Ecole Polytechnique Fédérale de Lausanne <br>Environmental Chemistry Modeling Laboratory <br><br><br> @IF ( ${MD_FF} == TIP4P ) <br>&CONSTRAINT <br>SHAKE_TOLERANCE 1.0E-12 <br>&G3X3 <br>MOLECULE 2 <br>ATOMS 1 2 3 <br>DISTANCES [angstrom] 0.95720 0.95720 1.51390 <br>&END G3X3 <br>&VIRTUAL_SITE <br>INTERMOLECULAR FALSE <br>ATOMS 4 2 1 3 <br>PARAMETERS 0.128012065 0.128012065 <br>MOLECULE 2 <br>&END VIRTUAL_SITE <br>&END CONSTRAINT <br>@ENDIF <br><br> @IF ( ${MD_FF} == QTIP4PF ) <br>&CONSTRAINT <br>SHAKE_TOLERANCE 1.0E-12 <br>&G3X3 <br>MOLECULE 2 <br>ATOMS 1 2 3 <br>DISTANCES [angstrom] 0.95720 0.95720 1.51390 <br>&END G3X3 <br>&VIRTUAL_SITE <br>INTERMOLECULAR FALSE <br>ATOMS 4 2 1 3 <br>PARAMETERS 0.131940 0.131940 <br>MOLECULE 2 <br>&END VIRTUAL_SITE <br>&END CONSTRAINT <br>@ENDIF <br><br>@IF ( ${MD_FF} == QTIP4PF ) <br>&BOND <br>ATOMS Ow Hw <br>KIND QUARTIC <br>K 0.541925 -0.983779 0.926020 <br>R0 [angstrom] 0.9419 <br>&END BOND <br>&BEND <br>ATOMS Hw Ow Hw <br>KIND HARMONIC <br>K 0.139998 <br>THETA0 [deg] 107.40 <br>&END BEND <br>@ENDIF</div></div>