@@ -117,7 +117,7 @@ or the IDs of the atoms that are connected by bonds and angles.
117117
118118.. container :: figurelegend
119119
120- a) Temperature, :math: `T`, of the water reservoir as a function of the
120+ Figure: a) Temperature, :math: `T`, of the water reservoir as a function of the
121121 time, :math: `t`. The horizontal dashed line is the target temperature
122122 of :math: `300 \text {K}`. b) Evolution of the system density, :math: `\rho `, with :math: `t`
123123
@@ -151,8 +151,18 @@ The ``fix npt`` allows us to impose both a temperature of :math:`300\,\text{K}`
151151(with a damping constant of :math: `1000 \,\text {fs}`). With the ``iso `` keyword,
152152the three dimensions of the box will be re-scaled simultaneously.
153153
154- INSERT FIGURE PEG-water The water reservoir from \h yperref[all-atom-label]{Tutorial 3}
155- after equilibration. Oxygen atoms are in red, and hydrogen atoms are in white.
154+ .. figure :: figures/water-light.png
155+ :alt: Water reservoir from molecular dynamics simulations
156+ :class: only-light
157+
158+ .. figure :: figures/water-dark.png
159+ :alt: Water reservoir from molecular dynamics simulations
160+ :class: only-dark
161+
162+ .. container :: figurelegend
163+
164+ Figure: The water reservoir after equilibration. Oxygen atoms are in red, and
165+ hydrogen atoms are in white.
156166
157167Let us output the system into images by adding the following commands to **water.lmp **:
158168
@@ -222,11 +232,20 @@ Now that the water reservoir is equilibrated, we can safely add the PEG polymer
222232to the water. The PEG molecule topology was downloaded from the ATB repository
223233:cite: `malde2011automated, oostenbrink2004biomolecular `. It has a formula
224234:math: `\text {C}_{16 }\text {H}_{34 }\text {O}_{9 }`, and the parameters are taken from
225- the {GROMOS} 54A7 force field :cite: `schmid2011definition ` (Fig.~\r ef{fig:PEG-in-vacuum}).
235+ the GROMOS 54A7 force field :cite: `schmid2011definition `.
236+
237+ .. figure :: figures/singlePEG-light.png
238+ :alt: PEG in vacuum as simulated with LAMMPS
239+ :class: only-light
240+
241+ .. figure :: figures/singlePEG-dark.png
242+ :alt: PEG in vacuum as simulated with LAMMPS
243+ :class: only-dark
244+
245+ .. container :: figurelegend
226246
227- INSERT FIGURE PEG-in-vacuum
228- The PEG molecule from \h yperref[all-atom-label]{Tutorial 3}.
229- The carbon atoms are in gray, the oxygen atoms in red, and the hydrogen atoms in white.
247+ Figure: The PEG molecule with carbon atoms in gray, oxygen atoms in red,
248+ and hydrogen atoms in white.
230249
231250Open the file named **merge.lmp ** that was downloaded
232251alongside **water.lmp ** during the tutorial setup. It only contain one line:
@@ -311,9 +330,20 @@ Let us create images of the systems:
311330 acolor OAlc darkred adiam OAlc 2.6
312331 thermo 500
313332
314- Inlude PEG-solvated figure : The PEG molecule solvated in water.
333+ .. figure :: figures/solvatedPEG_light.png
334+ :alt: PEG in water as simulated with LAMMPS
335+ :class: only-light
336+
337+ .. figure :: figures/solvatedPEG_dark.png
338+ :alt: PEG in water as simulated with LAMMPS
339+ :class: only-dark
340+
341+ .. container :: figurelegend
342+
343+ Figure : The PEG molecule solvated in water. Water is represented as a
344+ transparent field for clarity.
315345
316- inally , to perform a short equilibration and save the final state to
346+ Finally , to perform a short equilibration and save the final state to
317347a **.restart ** file, add the following lines to the input:
318348
319349.. code-block :: lammps
@@ -363,7 +393,17 @@ divides these atoms into two groups, ``end1`` (i.e.,~the OAlc atom to
363393the right of the center) and ``end2 `` (i.e.,~the OAlc atom to the right
364394of the center), for applying force during the stretching process.
365395
366- Add figure PEG-in-water PEG molecule stretched along the :math: `x` direction in water.
396+ .. figure :: figures/pulled_peg_light.png
397+ :alt: PEG in water as simulated with LAMMPS
398+ :class: only-light
399+
400+ .. figure :: figures/pulled_peg_dark.png
401+ :alt: PEG in water as simulated with LAMMPS
402+ :class: only-dark
403+
404+ .. container :: figurelegend
405+
406+ Figure: PEG molecule stretched along the :math: `x` direction in water.
367407
368408Add the following ``dump `` command to create images of the system:
369409
@@ -394,7 +434,7 @@ the following lines to **pull.lmp**:
394434
395435.. container :: figurelegend
396436
397- a) Evolution of the radius of gyration :math: `R_\text {gyr}` of the PEG molecule,
437+ Figure: a) Evolution of the radius of gyration :math: `R_\text {gyr}` of the PEG molecule,
398438 with the force applied starting at :math: `t = 15 \,\text {ps}`. b) Histograms of
399439 the dihedral angles of type 1 in the absence (orange) and in the presence (blue) of the applied force.
400440
0 commit comments