6 ; id at type res nr res name at name cg nr charge mass
7 1 OW_tip4pew 1 SOL OW 1 0 16.00000
8 2 HW_tip4pew 1 SOL HW1 1 0.52422 1.00800
9 3 HW_tip4pew 1 SOL HW2 1 0.52422 1.00800
10 4 MW 1 SOL MW 1 -1.04844 0.00000
20 ; i j funct length force.c.
21 1 2 1 0.09572 502416.0 0.09572 502416.0
22 1 3 1 0.09572 502416.0 0.09572 502416.0
25 ; i j k funct angle force.c.
26 2 1 3 1 104.52 628.02 104.52 628.02
32 ; Vsite from funct a b
33 4 1 2 3 1 0.106676721 0.106676721
43 ; The position of the virtual site is computed as follows:
52 ; const = distance (OV) / [ cos (angle(VOH)) * distance (OH) ]
53 ; 0.0125 nm / [ cos (52.26 deg) * 0.09572 nm ]
54 ; then a = b = 0.5 * const = 0.106676721
56 ; Vsite pos x4 = x1 + a*(x2-x1) + b*(x3-x1)