11 |
|
associated with them, often in the form of a dipole. Charges on atoms |
12 |
|
are not currently suported by {\sc oopse}. |
13 |
|
|
14 |
+ |
\begin{lstlisting}[caption={[Specifier for molecules and atoms] An example specifing the simple Ar molecule},label=sch:AtmMole] |
15 |
+ |
molecule{ |
16 |
+ |
name = "Ar"; |
17 |
+ |
nAtoms = 1; |
18 |
+ |
atom[0]{ |
19 |
+ |
type="Ar"; |
20 |
+ |
position( 0.0, 0.0, 0.0 ); |
21 |
+ |
} |
22 |
+ |
} |
23 |
+ |
\end{lstlisting} |
24 |
+ |
|
25 |
|
The second most basic building block of a simulation is the |
26 |
|
molecule. The molecule is a way for {\sc oopse} to keep track of the |
27 |
|
atoms in a simulation in logical manner. This particular unit will |