1 <title>top file format
</title>
3 <h1>top file format
</h1>
4 The top file extension stands for topology. It is an ascii file which is
5 read by
<a href=
"grompp.html">grompp
</a> which processes it
6 and creates a binary topology (
<a href=
"tpb.html">tpb-file
</a>).
<br>
7 A sample file is included below:
10 ; Example topology file
13 ; nbfunc comb-rule gen-pairs fudgeLJ fudgeQQ
16 ; The force field files to be included
24 ; nr type resnr residu atom cgnr charge
26 2 O
1 UREA O2
1 -
0.683
27 3 NT
1 UREA N3
2 -
0.622
30 6 NT
1 UREA N6
3 -
0.622
36 3 4 1 1.000000e-01 3.744680e+05
37 3 5 1 1.000000e-01 3.744680e+05
38 6 7 1 1.000000e-01 3.744680e+05
39 6 8 1 1.000000e-01 3.744680e+05
40 1 2 1 1.230000e-01 5.020800e+05
41 1 3 1 1.330000e-01 3.765600e+05
42 1 6 1 1.330000e-01 3.765600e+05
46 2 4 1 0.000000e+00 0.000000e+00
47 2 5 1 0.000000e+00 0.000000e+00
48 2 7 1 0.000000e+00 0.000000e+00
49 2 8 1 0.000000e+00 0.000000e+00
50 3 7 1 0.000000e+00 0.000000e+00
51 3 8 1 0.000000e+00 0.000000e+00
52 4 6 1 0.000000e+00 0.000000e+00
53 5 6 1 0.000000e+00 0.000000e+00
56 ; ai aj ak funct c0 c1
57 1 3 4 1 1.200000e+02 2.928800e+02
58 1 3 5 1 1.200000e+02 2.928800e+02
59 4 3 5 1 1.200000e+02 3.347200e+02
60 1 6 7 1 1.200000e+02 2.928800e+02
61 1 6 8 1 1.200000e+02 2.928800e+02
62 7 6 8 1 1.200000e+02 3.347200e+02
63 2 1 3 1 1.215000e+02 5.020800e+02
64 2 1 6 1 1.215000e+02 5.020800e+02
65 3 1 6 1 1.170000e+02 5.020800e+02
68 ; ai aj ak al funct c0 c1 c2
69 2 1 3 4 1 1.800000e+02 3.347200e+01 2.000000e+00
70 6 1 3 4 1 1.800000e+02 3.347200e+01 2.000000e+00
71 2 1 3 5 1 1.800000e+02 3.347200e+01 2.000000e+00
72 6 1 3 5 1 1.800000e+02 3.347200e+01 2.000000e+00
73 2 1 6 7 1 1.800000e+02 3.347200e+01 2.000000e+00
74 3 1 6 7 1 1.800000e+02 3.347200e+01 2.000000e+00
75 2 1 6 8 1 1.800000e+02 3.347200e+01 2.000000e+00
76 3 1 6 8 1 1.800000e+02 3.347200e+01 2.000000e+00
79 ; ai aj ak al funct c0 c1
80 3 4 5 1 2 0.000000e+00 1.673600e+02
81 6 7 8 1 2 0.000000e+00 1.673600e+02
82 1 3 6 2 2 0.000000e+00 1.673600e+02
84 ; Include SPC water topology