ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/oopsePaper/keywordTable.tex
(Generate patch)

Comparing trunk/oopsePaper/keywordTable.tex (file contents):
Revision 1147 by mmeineke, Wed May 5 17:42:55 2004 UTC vs.
Revision 1148 by mmeineke, Thu May 6 16:54:50 2004 UTC

# Line 82 | Line 82 | These are the bass keywords.
82  
83  
84   \begin{table}
85 < \caption{The Global Keywords: Ensemble Parameters}
85 > \caption{The Global Keywords: Ensemble/Integrator Parameters}
86   \begin{center}
87   % Note when adding or removing columns, the \hsize numbers must add up to the total number
88   % of columns.
# Line 105 | Line 105 | These are the bass keywords.
105          & logical & Sets whether the initial state of the constant pressure and temperature integrators is pulled from the {\tt .init} file. & Useful when recovering a simulation from a crashed process. Default is "false". \\
106   {\tt orthoBoxTolerance} & unitless & Sets the tolerance for orthorhombic/non-orthorhombic box wrapping. & Used mainly in the "NPTf" ensemble. Default is $1\times 10^{-6}$. \\
107  
108 + \end{tabularx}
109 + \end{center}
110 + \end{table}
111  
112 + \begin{table}
113 + \caption{{\sc bass} Block Statements}
114 + \begin{center}
115 + % Note when adding or removing columns, the \hsize numbers must add up to the total number
116 + % of columns.
117 + \begin{tabularx}{\linewidth}%
118 +  {>{\setlength{\hsize}{0.5\hsize}}X%
119 +  >{\setlength{\hsize}{1.2\hsize}}X%
120 +  >{\setlength{\hsize}{1.3\hsize}}X}
121  
122 + {\bf keyword} & {\bf use} & {\bf remarks} \\ \hline
123 +
124 + {\tt molecule\{\}} & Declares the prototypes of the components. & Can only be declared in the global namespace. \\
125 + {\tt atom\{\}} & Declares the atoms within a molecule or rigid body. & Can only be declared in a molecule or rigid body block. \\
126 + {\tt bond\{\}} & Declares the bonds within a molecule or rigid body. & Can only be declared in a molecule or rigid body block. \\
127 + {\tt bend\{\}} & Declares the bends in a molecule. & Can only be declared in a molecule block. \\
128 + {\tt torsion\{\}} & Declares the torsions in a molecule. & Can only be declared in a molecule block. \\
129 + {\tt component\{\}} & Declares the components present in a simulation. & Can only be declared in the global namespace. \\
130 +
131   \end{tabularx}
132   \end{center}
133   \end{table}
134  
135 + \begin{table}
136 + \caption{{\sc bass} Pre-Processing Statements}
137 + \begin{center}
138 + % Note when adding or removing columns, the \hsize numbers must add up to the total number
139 + % of columns.
140 + \begin{tabularx}{\linewidth}%
141 +  {>{\setlength{\hsize}{0.8\hsize}}X%
142 +  >{\setlength{\hsize}{1.0\hsize}}X%
143 +  >{\setlength{\hsize}{1.2\hsize}}X}
144  
145 + {\bf keyword} & {\bf use} & {\bf remarks} \\ \hline
146 +
147 + {\tt \#include "\emph{file}"} & Includes an external file for processing. & Mainly used to include {\tt .mdl} files into a {\tt .bass} script. \\
148 + {\tt \#define \emph{VARIABLE}} & Declares a pre-processing macro. & Will replace every occurrence of {\tt \emph{VARIABLE}} with whatever follows the define statement. The scope of the define is only to the end of the line, but can span multiple lines using the '$\backslash$'. \\
149 + {\tt \#ifdef \emph{VARIABLE}} & If {\tt \emph{VARIABLE}}is defined, the statements following the {\tt \#ifdef} will be processed. & Closed by an {\tt \#else} or an {\tt \#endif}. Can be nested within another {\tt \#if} directive. \\
150 + {\tt \#ifndef \emph{VARIABLE}} & If {\tt \emph{VARIABLE}} is \emph{not} defined, the statements following the {\tt \#ifndef} will be processed. & Closed by an {\tt \#else} or an {\tt \#endif}. Can be nested within another {\tt \#if } directive. \\
151 + {\tt \#else} & If the preceding {\tt \#if} statement was false, then the statements following the {\tt \#else} will be processed instead. & Closed by the {\tt \#endif} statement. \\
152 + {\tt \#endif} & Ends an {\tt \#if} clause. & All {\tt \#if} clauses must be closed, or the {\sc bass} parser will fail with an error. \\
153 +
154 +
155 + \end{tabularx}
156 + \end{center}
157 + \end{table}
158 +
159   \end{document}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines