1 <title>ndx file format
</title>
3 <h1>ndx file format
</h1>
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
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.
18 An example file is here:
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.
31 An index file generation tool is available:
<a href=make_ndx.html
>make_ndx
</a>.