Skip to content

Commit 937f015

Browse files
committed
updated tutorial 2
1 parent 30df470 commit 937f015

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

docs/sphinx/source/tutorial2/introduction.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,3 @@ force field (called OPLS-AA :cite:`jorgensenDevelopmentTestingOPLS1996`)
1919
is used and the bonds between the atoms of the CNT are unbreakable. In
2020
the second part, a reactive force field (called AIREBO :cite:`stuart2000reactive`)
2121
is used, which allows chemical bonds to break under large strain.
22-
23-
To set up this tutorial, select *Start Tutorial 2* from the *Tutorials*
24-
menu of LAMMPS-GUI and follow the instructions. This will select a folder,
25-
create one if necessary, and place several files into it. The initial
26-
input file, set up for a single-point energy calculation, will also be
27-
loaded into the editor under the name *unbreakable.lmp*. Additional files
28-
are a data file containing the CNT topology and geometry, named
29-
*unbreakable.data*, a parameters file named *unbreakable.inc*, as well as
30-
the scripts required for the second part of the tutorial.

docs/sphinx/source/tutorial2/tutorial.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ by maintaining the relative orientations of neighboring atoms.
1212
The LAMMPS input
1313
----------------
1414

15-
After completing the setup, the editor should display the following content:
15+
Create a folder if needed and
16+
place the initial input file, *unbreakable.lmp*, into it. Then, open the
17+
file in a text editor of your choice, and copy the following into it:
1618

1719
.. code-block:: lammps
1820
@@ -32,6 +34,18 @@ After completing the setup, the editor should display the following content:
3234
3335
run 0 post no
3436
37+
.. admonition:: If you are using LAMMPS-GUI
38+
:class: gui
39+
40+
Select *Start Tutorial 2* from the *Tutorials*
41+
menu of LAMMPS-GUI and follow the instructions. This will select a folder,
42+
create one if necessary, and place several files into it. The initial
43+
input file, set up for a single-point energy calculation, will also be
44+
loaded into the editor under the name *unbreakable.lmp*. Additional files
45+
are a data file containing the CNT topology and geometry, named
46+
*unbreakable.data*, a parameters file named *unbreakable.inc*, as well as
47+
the scripts required for the second part of the tutorial.
48+
3549
The chosen unit system is *real* (therefore distances are in
3650
Ångströms (Å), times in femtoseconds (fs), and energies in kcal/mol), the
3751
*atom_style* is *molecular* (therefore atoms are point

0 commit comments

Comments
 (0)