Properly finalize MPI on mdrun -version. Fixes #1313
[gromacs.git] / share / html / online / ndx.html
blob7c2cf2f995cc12b55be9b86a6a2ae6bdfe36521b
1 <title>ndx file format</title>
2 <LINK rel=stylesheet href="style.css" type="text/css">
3 <BODY text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#650065" alink="#FF0000">
4 <h2>ndx file format</h2>
5 <CENTER><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 COLS=2 WIDTH="98%">
6 <TR>
7 <TD><font size=-1><A HREF="../online.html">Main Table of Contents</A></font></TD>
8 <TD ALIGN=RIGHT><B>VERSION 4.6</B></TR>
9 <TR><TD><font size=-1><A HREF="http://www.gromacs.org">GROMACS homepage</A></font></TD>
10 <TD ALIGN=RIGHT><B>Sat 19 Jan 2013</B></TR></TABLE></CENTER><HR>
11 <H3>Description</H3>
12 The GROMACS index file (usually called index.ndx) contains some
13 user definable sets of atoms. The file can be read by
14 most analysis programs, by the graphics program (<a href=ngmx.html>ngmx</a>)
15 and by the preprocessor (<a href=grompp.html>grompp</a>).
16 Most of these programs create default index groups when no index
17 file is supplied, so you only need to make an index file when you need special
18 groups.
19 <p>
20 First the group name is written between square brackets.
21 The following atom numbers may be spread out over as many lines as you like.
22 The atom numbering starts at 1.
23 <p>
25 An example file is here:
26 <pre>
27 [ Oxygen ]
28 1 4 7
29 [ Hydrogen ]
30 2 3 5 6
31 8 9
32 </pre>
34 There are two groups, and total nine atoms. The first group
35 <b>Oxygen</b> has 3 elements.
36 The second group <b>Hydrogen</b> has 6 elements.
37 <p>
38 An index file generation tool is available: <a href=make_ndx.html>make_ndx</a>.
39 <hr>
40 <div ALIGN=RIGHT>
41 <font size="-1"><a href="http://www.gromacs.org">http://www.gromacs.org</a></font><br>
42 </div>
43 </body>