| 1 |
\documentclass[11pt]{article} |
| 2 |
\usepackage{amsmath} |
| 3 |
\usepackage{amssymb} |
| 4 |
\usepackage{endfloat} |
| 5 |
\usepackage{listings} |
| 6 |
\usepackage{palatino} |
| 7 |
\usepackage{graphicx} |
| 8 |
\usepackage[ref]{overcite} |
| 9 |
\usepackage{setspace} |
| 10 |
\usepackage{tabularx} |
| 11 |
\pagestyle{plain} |
| 12 |
\pagenumbering{arabic} |
| 13 |
\oddsidemargin 0.0cm \evensidemargin 0.0cm |
| 14 |
\topmargin -21pt \headsep 10pt |
| 15 |
\textheight 9.0in \textwidth 6.5in |
| 16 |
\brokenpenalty=10000 |
| 17 |
\renewcommand{\baselinestretch}{1.2} |
| 18 |
\renewcommand\citemid{\ } % no comma in optional reference note |
| 19 |
|
| 20 |
\begin{document} |
| 21 |
|
| 22 |
These are the bass keywords. |
| 23 |
|
| 24 |
|
| 25 |
\begin{table} |
| 26 |
\caption{The Global Keywords: Required Parameters} |
| 27 |
\begin{center} |
| 28 |
% Note when adding or removing columns, the \hsize numbers must add up to the total number |
| 29 |
% of columns. |
| 30 |
\begin{tabularx}{\linewidth}% |
| 31 |
{>{\setlength{\hsize}{1.00\hsize}}X% |
| 32 |
>{\setlength{\hsize}{0.4\hsize}}X% |
| 33 |
>{\setlength{\hsize}{1.2\hsize}}X% |
| 34 |
>{\setlength{\hsize}{1.4\hsize}}X} |
| 35 |
|
| 36 |
{\bf keyword} & {\bf units} & {\bf use} & {\bf remarks} \\ \hline |
| 37 |
|
| 38 |
{\tt forceField} & string & Sets the force field. & Possible force fields are "DUFF", "LJ", and "EAM". \\ |
| 39 |
{\tt ensemble} & string & Sets the ensemble. & Possible ensembles are "NVE", "NVT", "NPTi", "NPTf", and "NPTxyz".\\ |
| 40 |
{\tt dt} & fs & Sets the time step. & Selection of {\tt dt} should be small enough to sample the fastest motion of the simulation. \\ |
| 41 |
{\tt nComponents} & integer & Sets the number of components. & Needs to appear before the first {\tt Component} block. \\ |
| 42 |
{\tt initialConfig} & string & Sets the file containing the initial configuration. & Can point to any file containing the configuration in the correct order. |
| 43 |
|
| 44 |
\end{tabularx} |
| 45 |
\end{center} |
| 46 |
\end{table} |
| 47 |
|
| 48 |
|
| 49 |
\begin{table} |
| 50 |
\caption{The Global Keywords: General Parameters} |
| 51 |
\begin{center} |
| 52 |
% Note when adding or removing columns, the \hsize numbers must add up to the total number |
| 53 |
% of columns. |
| 54 |
\begin{tabularx}{\linewidth}% |
| 55 |
{>{\setlength{\hsize}{1.00\hsize}}X% |
| 56 |
>{\setlength{\hsize}{0.4\hsize}}X% |
| 57 |
>{\setlength{\hsize}{1.2\hsize}}X% |
| 58 |
>{\setlength{\hsize}{1.4\hsize}}X} |
| 59 |
|
| 60 |
{\bf keyword} & {\bf units} & {\bf use} & {\bf remarks} \\ \hline |
| 61 |
|
| 62 |
{\tt finalConfig} & string & Option to set the name of the final output file. & Useful when stringing simulations together. Defaults to the {\tt .bass} file with an {\tt .eor} extension. \\ |
| 63 |
{\tt runTime} & fs & Sets the time at which the simulation should end. & The time is an absolute time, and will end the simulation when the current time meets or exceeds the {\tt runTime}. \\ |
| 64 |
{\tt useInitialTime} & logical & Sets whether the initial time is taken from the {\tt .init} file. & Useful when recovering a simulation from a crashed processor. Default is false. \\ |
| 65 |
{\tt sampleTime} & fs & Sets the frequency at which the {\tt .dump} file is written. & Default sets the frequency to the {\tt runTime}. \\ |
| 66 |
{\tt statusTime} & fs & Sets the frequency at which the {\tt .stat} file is written. & Defaults sets the frequency to the {\tt sampleTime}. \\ |
| 67 |
{\tt LJrcut} & $\mbox{\AA}$ & Manually sets the Lennard-Jones cutoff. & Defaults to $2.5\sigma_L$, where $\sigma_L$ is the largest LJ $\sigma$ in the simulation. \\ |
| 68 |
{\tt electrostaticCutoffRadius}& & & \\ |
| 69 |
& $\mbox{\AA}$ & Manually sets the cutoff used by the electrostatic potentials. & Defaults to $15\mbox{\AA}$ \\ |
| 70 |
{\tt electrostaticSkinThickness} & & & \\ |
| 71 |
& $\mbox{\AA}$ & Manually sets the skin thickness for the electrostatic switching function. & Defaults to 5~\% of the {\tt electrostaticSkinThickness}. \\ |
| 72 |
{\tt useReactionField} & logical & Turns the reaction field correction on/off. & Default is "false". \\ |
| 73 |
{\tt dielectric} & unitless & Sets the dielectric constant for reaction field. & If {\tt useReactionField} is true, then {\tt dielectric} must be set. \\ |
| 74 |
{\tt usePeriodicBoundaryConditions} & & & \\ |
| 75 |
& logical & Turns periodic boundary conditions on/off. & Default is "true". \\ |
| 76 |
{\tt seed } & integer & Sets the seed value for the random number generator. & The seed needs to be at least 9 digits long. The default is to take the seed from the CPU clock. |
| 77 |
|
| 78 |
\end{tabularx} |
| 79 |
\end{center} |
| 80 |
\end{table} |
| 81 |
|
| 82 |
|
| 83 |
|
| 84 |
\begin{table} |
| 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. |
| 89 |
\begin{tabularx}{\linewidth}% |
| 90 |
{>{\setlength{\hsize}{1.00\hsize}}X% |
| 91 |
>{\setlength{\hsize}{0.4\hsize}}X% |
| 92 |
>{\setlength{\hsize}{1.2\hsize}}X% |
| 93 |
>{\setlength{\hsize}{1.4\hsize}}X} |
| 94 |
|
| 95 |
{\bf keyword} & {\bf units} & {\bf use} & {\bf remarks} \\ \hline |
| 96 |
|
| 97 |
{\tt tempSet} & logical & Turns Boltzmann sampling of velocities on/off. & Should only be used in the NVE ensemble. Default is "false". \\ |
| 98 |
{\tt thermalTime} & fs & Sets the frequency of the velocity resampling when {\tt tempSet} is true. & Default frequency is set to the {\tt runTime} (\emph{i.e.}~once at the beginning only). \\ |
| 99 |
{\tt targetTemp } & K & Sets the target temperature. & Used when re-scaling the velocities and by the constant temperature ensembles. \\ |
| 100 |
{\tt targetPressure} & atm & Sets the target pressure. & Used in the constant pressure ensembles. \\ |
| 101 |
{\tt tauThermostat} & fs & Sets the $\tau_{\text{thermostat}}$. & Used by the constant temperature integration schemes. \\ |
| 102 |
{\tt tauBarostat} & fs & Sets the $\tau_{\text{barostat}}$. & Used by the constant pressure integration schemes. \\ |
| 103 |
{\tt resetTime} & fs & Sets the frequency at which the constant pressure and temperature schemes have their drag coefficients set to 0. & If {\tt resetTime} is not present, then the integrators are only zeroed at the beginning of the run.\\ |
| 104 |
{\tt useInitialExtendedSystemState} & & & \\ |
| 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} |