changed reading hint
[gromacs/adressmacs.git] / share / html / online / ndx.html
blobf56d68d92244c61b06d9252fa9f1e8ae3d336923
1 <title>ndx file format</title>
2 <body>
3 <h1>ndx file format</h1>
4 <h2>Description</h2>
5 The GROMACS index file (usually called index.ndx) contains some
6 user definable sets of atoms. The file can be read by
7 most analysis programs, by the graphics program (<a href=ngmx.html>ngmx</a>)
8 and by the preprocessor (<a href=grompp.html>grompp</a>).
9 Most of these programs create default index groups when no index
10 file is supplied, so you only need to make an index file when you need special
11 groups.
12 <p>
13 First the group name is written between square brackets.
14 The following atom numbers may be spread out over as many lines as you like.
15 The atom numbering starts at 1.
16 <p>
18 An example file is here:
19 <pre>
20 [ Oxygen ]
21 1 4 7
22 [ Hydrogen ]
23 2 3 5 6
24 8 9
25 </pre>
27 There are two groups, and total nine atoms. The first group
28 <b>Oxygen</b> has 3 elements.
29 The second group <b>Hydrogen</b> has 6 elements.
30 <p>
31 An index file generation tool is available: <a href=make_ndx.html>make_ndx</a>.
32 </body>