Merge branch release-5-1 into release-2016
[gromacs.git] / docs / manual / gromacs.tex
blob9ee87735b86cddd5c36dc9058c9e22004f88e2c4
2 % This file is part of the GROMACS molecular simulation package.
4 % Copyright (c) 2013,2014,2015,2016, by the GROMACS development team, led by
5 % Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
6 % and including many others, as listed in the AUTHORS file in the
7 % top-level source directory and at http://www.gromacs.org.
9 % GROMACS is free software; you can redistribute it and/or
10 % modify it under the terms of the GNU Lesser General Public License
11 % as published by the Free Software Foundation; either version 2.1
12 % of the License, or (at your option) any later version.
14 % GROMACS is distributed in the hope that it will be useful,
15 % but WITHOUT ANY WARRANTY; without even the implied warranty of
16 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 % Lesser General Public License for more details.
19 % You should have received a copy of the GNU Lesser General Public
20 % License along with GROMACS; if not, see
21 % http://www.gnu.org/licenses, or write to the Free Software Foundation,
22 % Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 % If you want to redistribute modifications to GROMACS, please
25 % consider that scientific software is very special. Version
26 % control is crucial - bugs must be traceable. We will be happy to
27 % consider code for inclusion in the official distribution, but
28 % derived work must not be called official GROMACS. Details are found
29 % in the README & COPYING files - if they are missing, get the
30 % official version at http://www.gromacs.org.
32 % To help us fund GROMACS development, we humbly ask that you cite
33 % the research papers on the package. Check out http://www.gromacs.org.
35 \documentclass[11pt,a4paper,twoside]{gmxmanual}
36 \usepackage{here,picins,fancy,array,tabularx,multicol,dcolumn,makeidx,times,ifthen,enumitem,longtable,pdflscape}
37 %citesort was old, deprecated in tex, and doesn't work with hyperref/pdftex.
38 %it is rumored you could achieve the same functionality with natbib, but
39 %after a couple of hours of trial I gave up... /EL
40 \input{macros}
42 \usepackage[utf8]{inputenc}
43 \usepackage[T1]{fontenc}
45 \newcommand{\projectContributors}{
46 Emile Apol, Rossen Apostolov, Herman J.C. Berendsen, \\
47 Aldert van Buuren, P\"ar Bjelkmar, Rudi van Drunen, \\
48 Anton Feenstra, Sebastian Fritsch, Gerrit Groenhof, \\
49 Christoph Junghans, Jochen Hub, Peter Kasson, \\
50 Carsten Kutzner, Brad Lambeth, Per Larsson, \\
51 Justin A. Lemkul, Erik Marklund, Peiter Meulenhoff, \\
52 Teemu Murtola, Szil\'ard P\'all, Sander Pronk, \\
53 Roland Schulz, Michael Shirts, Alfons Sijbers, \\
54 Peter Tieleman, Christian Wennberg and Maarten Wolf.
56 \newcommand{\projectLeaders}{
57 Mark Abraham, Berk Hess, David van der Spoel, and Erik Lindahl.
60 \hypersetup{
61 pdfencoding=unicode,
62 pdfinfo={
63 Author={The GROMACS team.
64 Contributors: \projectContributors
65 Project leaders: \projectLeaders
66 For more details see http://www.gromacs.org/About\_Gromacs/People},
67 Title={GROMACS Reference Manual},
68 Subject={Theoretical and algorithmic background to molecular dynamics simulation using GROMACS},
69 Keywords={GROMACS; molecular dynamics; molecular simulation; free energy; SIMD; GPU; GPGPU; MPI; OpenMP}
72 % If you set gmxlite to 1 a very much shortened version of the manual
73 % will be generated, which may be useful for teaching.
74 \newcommand{\gmxlite}{0}
76 \begin{document}
78 %roman pagenumbers for the preamble stuff
79 \pagenumbering{roman}
81 % Adjust margins on front page to make it
82 % symmetrical. It is reset on the next page.
83 \addtolength{\oddsidemargin}{-5mm}
86 % F R O N T P A G E
88 \pagestyle{empty}
89 \begin{center}
91 \textcolor{blue}{\fontsize{84}{96} \selectfont GROMACS}
92 \vspace{4mm}
94 \textcolor{blue}{\LARGE \em Groningen Machine for Chemical Simulations}
95 \vspace{4mm}
97 \includegraphics[height=5in]{plots/peregrine}
98 \vspace{4mm}
100 \ifthenelse{\equal{\gmxlite}{1}}
102 \fcolorbox{blue}{blue}{\textcolor{white}{\fontsize{56}{64} \selectfont Reference Manual {\em ~Lite~}}}
105 \fcolorbox{blue}{blue}{\textcolor{white}{\fontsize{56}{64} \selectfont ~Reference Manual~}}
106 } % Brace matches ifthenelse test for gmxlite
107 \vspace{4mm}
109 \textcolor{blue}{\fontsize{48}{56} \selectfont ~Version \gmxver~}
112 %\vspace{0.25cm}
113 %{\fontsize{30}{36} \selectfont \bf Version \gmxver}
115 \end{center}
116 \vfill
118 \ifthenelse{\equal{\gmxlite}{1}}
120 \newpage
121 {\bf
122 This text is a shortened version of the full {\gromacs} manual, written
123 by David van der Spoel, Berk Hess, Erik Lindahl and others. Please
124 find further information on our website {\wwwpage}.}
126 \vspace{2cm}
128 \noindent \copyright\ 1991--2000:
129 Department of Biophysical Chemistry, University of Groningen.
130 Nijenborgh 4, 9747 AG Groningen, The Netherlands.\\
131 \medskip
133 \noindent \copyright\ 2001--{\gmxyear}:
134 The {\gromacs} development teams at the Royal Institute of Technology and \\
135 Uppsala University, Sweden.
138 \cleardoublepage
139 } % Brace matches ifthenelse test for gmxlite
140 %reset to normal margins
141 \addtolength{\oddsidemargin}{5mm}
144 % P R E F A C E
146 \renewcommand{\chaptermark}[1]{\markboth{#1}{#1}} % remember chapter title
147 \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
148 % section number and title
149 \lhead[\fancyplain{}{\em\thepage}]{\fancyplain{}{\em\rightmark}}
150 \rhead[\fancyplain{}{\em\leftmark}]{\fancyplain{}{\em\thepage}}
151 \cfoot{}
153 \ifthenelse{\equal{\gmxlite}{1}}{}{
154 \begin{center}
155 \phantom{ }
156 \vspace{1cm}
157 {\fontsize{40}{50} \selectfont
158 GROMACS\\
159 Reference Manual\\[1cm]
161 {\LARGE\bf Version \gmxver}\\[1cm]
163 {\Large
164 Contributions from \\
165 \vspace{5mm}
167 \projectContributors}
168 \vspace{5mm}
170 {\LARGE \projectLeaders}
171 \vspace{10mm}
172 \end{center}
174 \vfill
177 \noindent \copyright\ 1991--2000:
178 Department of Biophysical Chemistry, University of Groningen. \\
179 Nijenborgh 4, 9747 AG Groningen, The Netherlands.\\
180 \medskip
182 \noindent \copyright\ 2001--{\gmxyear}:
183 The {\gromacs} development teams at the Royal Institute of Technology and \\
184 Uppsala University, Sweden.
186 \vspace{5mm}
188 More information can be found on our website: {\wwwpage}.
191 \newpage
192 \pagestyle{fancyplain}
194 \subsection*{Preface \& Disclaimer}
195 This manual is not complete and has no pretention to be so due
196 to lack of time of the contributors -- our first priority is to improve
197 the software. It is worked on continuously,
198 which in some cases might mean the information is not entirely correct.
200 Comments on form and content are welcome, please send them to one of
201 the mailing lists (see {\wwwpage}), or open an issue
202 at {\redminepage}. Corrections can also be made in the GROMACS git
203 source repository and uploaded to {\gerritpage}.
205 We release an updated version of the manual whenever
206 we release a new version of the software, so in general
207 it is a good idea to use a manual with the same major and
208 minor release number as your {\gromacs} installation.
210 \subsection*{On-line Resources}
211 You can find more documentation and other material at our homepage
212 \wwwpage. Among other things there is an on-line reference, several
213 {\gromacs} mailing lists with archives and contributed
214 topologies/force fields.
216 \subsection*{Citation information}
217 When \normindex{citing} this document in any scientific publication
218 please refer to it as:
219 \begin{quote}
220 \raggedright
221 M.J. Abraham, D. van der Spoel, E. Lindahl, B. Hess, and the GROMACS development team,
222 \hspace{0.3em} {\em {\gromacs} {U}ser {M}anual version \gmxver},
223 \hspace{0.3em} {\wwwpage} ({\gmxyear})
224 \end{quote}
225 However, we prefer that you cite (some of) the {\gromacs}
226 papers~\cite{Bekker93a,Berendsen95a,Lindahl2001a,Spoel2005a,Hess2008b,Pronk2013,Pall2015,Abraham2015}
227 when you publish your results. Any future development depends on academic research
228 grants, since the package is distributed as free software!
230 \subsection*{{\gromacs} is {\em Free Software}}
231 The entire {\gromacs} package is available under the GNU Lesser
232 General Public License (LGPL), version 2.1. This means it's free as in free
233 speech, not just that you can use it without paying us money.
234 You can redistribute {\gromacs} and/or modify it under the terms of the LGPL
235 as published by the Free Software Foundation;
236 either version 2.1 of the License, or (at your option) any later version.
237 For details, check the COPYING file in the source code or consult
238 \href{http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html}{http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html}.
240 The {\gromacs} source code and and selected set of binary packages are
241 available on our homepage, \wwwpage. Have fun.
242 } % Brace matches ifthenelse test for gmxlite
244 \newpage
245 % C O N T E N T S
247 \tableofcontents
248 %\listoffigures
249 %\listoftables
252 % R E A L M A N U A L
254 \cleardoublepage
255 \pagenumbering{arabic}
257 \include{intro}
258 \include{defunits}
259 \include{algorithms}
260 \include{forcefield}
262 \ifthenelse{\equal{\gmxlite}{1}}{}{
263 \include{topology}
264 \include{special}
265 \include{programs}
266 } % Brace matches ifthenelse test for gmxlite
267 \include{analyse}
268 \ifthenelse{\equal{\gmxlite}{1}}{}{
270 % A P P E N D I C E S
272 \appendix
273 \include{technical}
274 \include{implement}
275 \include{averages}
276 } % Brace matches ifthenelse test for gmxlite
278 % The pdfdummy counter is a workaround to get correct
279 % bookmarks for the index & bibliography in pdf files
281 \newcounter{pdfdummy}
284 % B I B L I O G R A P H Y
286 \cleardoublepage
287 \refstepcounter{pdfdummy}
289 \addcontentsline{toc}{chapter}{Bibliography}
291 \bibliographystyle{proteins}
292 \bibliography{monster,unpubl}
295 % I N D E X
297 \cleardoublepage
298 \refstepcounter{pdfdummy}
300 \ifthenelse{\equal{\gmxlite}{1}}{}{
301 \addcontentsline{toc}{chapter}{Index}
303 \renewcommand{\see}[2]{\mbox{} \mbox{\textit{see} #1}}
304 \printindex
305 } % Brace matches ifthenelse test for gmxlite
307 \end{document}
309 % LocalWords: Groningen der Spoel Lindahl Nijenborgh Carsten Kutzner Aldert
310 % LocalWords: Buuren Apol Meulenhoff Tieleman Sijbers Feenstra Rudi Drunen Sij
311 % LocalWords: Berendsen pretention bers ser anual Uppsala Mainz unpubl
312 % LocalWords: Bioinformatics GROMACS Rossen Apostolov ar Bjelkmar
313 % LocalWords: Fritsch Gerrit Groenhof Junghans Kasson Larsson Peiter
314 % LocalWords: Teemu Murtola Szil ard Pronk Jochen Lambeth Lemkul
315 % LocalWords: Marklund Maarten