From 6005071d6c21063fb93d76d5bd73ce1444c72dda Mon Sep 17 00:00:00 2001 From: Tjerk Straatsma Date: Thu, 27 May 1999 18:21:44 +0000 Subject: [PATCH] Updated documentation --- doc/user/esp.tex | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/doc/user/esp.tex b/doc/user/esp.tex index 5d4da781d8..7cc6e6c0ed 100644 --- a/doc/user/esp.tex +++ b/doc/user/esp.tex @@ -85,6 +85,34 @@ The net charge of a subset of atoms can be constrained using where \verb+charge+ is the net charge of the set of atoms \verb+{iatom}+. A negative atom number \verb+iatom+ can be used to specify that the partial charge of that atom is substracted in the sum for the set. +\item +The net charge of a sequence of atoms can be constrained using +\begin{verbatim} + constrain through +\end{verbatim} +where \verb+charge+ is the net charge of the set of atoms \verb+{[iatom:jatom]}+. +\item +A group of atoms can be constrained to have the same charge with +\begin{verbatim} + constrain equal {} +\end{verbatim} +\item +The individual charge of a group of atoms can be constrained to be equal to +those of a second group of atoms with +\begin{verbatim} + constrain group to +\end{verbatim} +resulting in the same charge for atoms \verb+iatom+ and \verb+katom+, for +atoms \verb.iatom+1. and \verb.katom+1., ... for atoms \verb+jatom+ and \verb+latom+. +\item +A special constraint +\begin{verbatim} + constrain equal {} +\end{verbatim} +can be used to constrain the set \verb+{iatom,{jatom}}+ to zero charge, and +constrain all atoms in \verb+{jatom}+ to have the same charge. This can be used, +for example, to restrain a methyl group to zero charge, and have all hydrogen +carrying identical charges. \end{itemize} \section{Restraints}