@@ -4106,14 +4106,18 @@ \subsubsection{Method 1: Free sampling}
41064106% SG: apparently variable can't be cutted in 2 lines, either warn the reader, or find
41074107% a way to write these commands on the entire width of the page, or divide the variables
41084108% into several variables
4109+ % CA: I think we can remove the & (to avoid confusion) and warn the reader about the
4110+ % continuation of the formula.
41094111\ begin{lstlisting}
41104112variable U atom ${U0}*atan((x+${x0})/${dlt})&
41114113 -${U0}*atan((x-${x0})/${dlt})
41124114variable F atom ${U0}/((x-${x0})^2/${dlt}^2+1)/${dlt}&
41134115 -${U0}/((x+${x0})^2/${dlt}^2+1)/${dlt}
41144116fix myadf all addforce v_F 0.0 0.0 energy v_U
41154117\end {lstlisting }
4116- Next, we combine the \lmpcmd {fix nve} with a \lmpcmd {fix langevin} thermostat:
4118+ Next, we {\color {blue}use the Newtonian equations of motion with a
4119+ Langevin thermostat by combining }the \lmpcmd {fix nve} with a
4120+ \lmpcmd {fix langevin} {\color {blue}command}:
41174121\ begin{lstlisting}
41184122fix mynve all nve
41194123fix mylgv all langevin 119.8 119.8 500 30917
@@ -4123,6 +4127,13 @@ \subsubsection{Method 1: Free sampling}
41234127atoms $ N$ , constant volume $ V$ , and a temperature $ T$ that
41244128fluctuates around a target value.
41254129% SG: may be discuss the choice of constant "500" -> chosen for a relatiely weak coupling with thermostat (add a box?)
4130+ % CA: I can propose something that can be put in a yellow box. Feel free to uncomment the lines below and modify it if you want to.
4131+ % {\color{blue}You can find proposed in the LAMMPS documentation
4132+ % values of 100x and 1000x the value of the timestep for the damping
4133+ % constants of the thermostats and barostats. Here, a smaller
4134+ % value is used in order to have the temperature of the system
4135+ % relaxed to the target value more often.}
4136+ % PS: I am not defining the damping constants because you had already done it in one of the firsts tutorials.
41264137
41274138\begin {figure }
41284139\centering
@@ -4136,7 +4147,8 @@ \subsubsection{Method 1: Free sampling}
41364147
41374148To ensure that the equilibration time is sufficient, we will track the evolution of
41384149the number of atoms in the central - energetically unfavorable - region,
4139- referred to as \lmpcmd {mymes}, using the \lmpcmd {n\_ center} variable:
4150+ {\color {blue} defined below under the name} \lmpcmd {mymes}, using
4151+ the \lmpcmd {n\_ center} variable:
41404152\ begin{lstlisting}
41414153region mymes block -${x0} ${x0} INF INF INF INF
41424154variable n_center equal count(all,mymes)
@@ -4149,7 +4161,8 @@ \subsubsection{Method 1: Free sampling}
41494161dump_modify viz backcolor white acolor 1 cyan &
41504162 adiam 1 3 boxcolor black
41514163\end {lstlisting }
4152- A \lmpcmd {dump image} command was also added for system visualization.
4164+ A \lmpcmd {dump image} command was also added for system visualization.
4165+ {\color {blue} The other commands should also be familiar from previous tutorials.}
41534166
41544167Finally, let us perform an equilibration of 50000 steps,
41554168using a timestep of $ 2 \, \text {fs}$ , corresponding to a total duration of $ 100 \, \text {ps}$ :
@@ -4315,10 +4328,11 @@ \subsubsection{Method 2: Umbrella sampling}
43154328\end {lstlisting }
43164329
43174330So far, our code resembles that of Method 1, except for the additional particle
4318- of type 2. Particles of types 1 and 2 are identical, with the same mass
4319- and LJ parameters. However, the particle of type 2 will also
4331+ of type 2. Particles of types 1 and 2 are identical.
4332+ However, the particle of type 2 will also
43204333be exposed to the biasing potential $ V$ , which forces it to explore the
4321- central part of the box (Fig.~\ref {fig:US-system-biased }).
4334+ central part of the box (Fig.~\ref {fig:US-system-biased }), {\color {blue} thus
4335+ justifying the definition of two atom types.}
43224336
43234337\begin {figure }
43244338\centering
@@ -4351,8 +4365,12 @@ \subsubsection{Method 2: Umbrella sampling}
43514365next a
43524366jump SELF loop
43534367\end {lstlisting }
4368+ {\color {blue} The definition of a variable of loop style serves the same purpose
4369+ as in Tutorial 5, and we highlight here the particular utility of using its value
4370+ to distinguish the files written by the \lmpcmd {fix ave_/time} command for the
4371+ different bias potentials.}
43544372The \lmpcmd {spring} command imposes the additional harmonic potential $ V$ with
4355- the previously defined spring constant $ k$ . The center of the harmonic
4373+ the previously defined spring constant $ k$ { \color {blue}to the atoms in the group \lmpcmd {topull}} . The center of the harmonic
43564374potential, $ x_\text {des}$ , successively takes values
43574375from $ -28 \, \text {\AA {}}$ to $ 28 \, \text {\AA {}}$ . For each value of $ x_\text {des}$ ,
43584376an equilibration step of 40\, ps is performed, followed by a step
0 commit comments