Skip to content

Commit 0b5c822

Browse files
Merge pull request #64 from lammpstutorials/review-livecoms
Applied comments from Livecoms Reviewer
2 parents 09d7f68 + 1167e99 commit 0b5c822

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+100347
-80049
lines changed

figures/PEG-density.png

752 Bytes
Loading

figures/REACT-mixing.png

1.96 KB
Loading

files/tutorial1/improved.md.lmp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# LAMMPS Input File (License CC BY 4.0)
2-
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
3-
# The DOI will be added upon publication
1+
# LAMMPS Input File
2+
# Licensed under CC BY 4.0
3+
# By Simon Gravelle, Cecilia M. S. Alvares, Jacob R. Gissinger, and Axel Kohlmeyer
4+
# Please cite doi.org/10.48550/arXiv.2503.14020
45
# Find more on GitHub: https://github.com/lammpstutorials
56

67
# 1) Initialization
@@ -10,5 +11,5 @@ atom_style atomic
1011
boundary p p p
1112
# 2) System definition
1213
# 3) Settings
13-
# 4) Visualization
14+
# 4) Monitoring
1415
# 5) Run

files/tutorial1/improved.min.lmp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# LAMMPS Input File (License CC BY 4.0)
2-
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
3-
# The DOI will be added upon publication
1+
# LAMMPS Input File
2+
# Licensed under CC BY 4.0
3+
# By Simon Gravelle, Cecilia M. S. Alvares, Jacob R. Gissinger, and Axel Kohlmeyer
4+
# Please cite doi.org/10.48550/arXiv.2503.14020
45
# Find more on GitHub: https://github.com/lammpstutorials
56

67
# 1) Initialization
@@ -15,8 +16,8 @@ mass 2 10.0
1516
pair_style lj/cut 4.0
1617
pair_coeff 1 1 1.0 1.0
1718
pair_coeff 2 2 0.5 3.0
18-
# 4) Visualization
19+
# 4) Monitoring
1920
thermo 10
2021
thermo_style custom step etotal press
2122
# 5) Run
22-
minimize 1.0e-6 1.0e-6 1000 10000
23+
minimize 1.0e-6 1.0e-6 1000 10000

files/tutorial1/initial.lmp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
# LAMMPS Input File (License CC BY 4.0)
2-
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
3-
# The DOI will be added upon publication
1+
# LAMMPS Input File
2+
# Licensed under CC BY 4.0
3+
# By Simon Gravelle, Cecilia M. S. Alvares, Jacob R. Gissinger, and Axel Kohlmeyer
4+
# Please cite doi.org/10.48550/arXiv.2503.14020
45
# Find more on GitHub: https://github.com/lammpstutorials
56

67
# PART A - ENERGY MINIMIZATION
78
# 1) Initialization
89
# 2) System definition
910
# 3) Settings
10-
# 4) Visualization
11+
# 4) Monitoring
1112
# 5) Run

files/tutorial1/solution/improved.md.lmp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# LAMMPS Input File (License CC BY 4.0)
2-
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
3-
# The DOI will be added upon publication
1+
# LAMMPS Input File
2+
# Licensed under CC BY 4.0
3+
# By Simon Gravelle, Cecilia M. S. Alvares, Jacob R. Gissinger, and Axel Kohlmeyer
4+
# Please cite doi.org/10.48550/arXiv.2503.14020
45
# Find more on GitHub: https://github.com/lammpstutorials
56

67
# 1) Initialization
@@ -34,7 +35,7 @@ compute sumcoor12 grp_t1 reduce ave c_coor12
3435

3536
# 3) Settings
3637

37-
# 4) Visualization
38+
# 4) Monitoring
3839
thermo 1000
3940
thermo_style custom step temp pe ke etotal &
4041
press v_n1_in v_n2_in c_sumcoor12

files/tutorial1/solution/improved.min.lmp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# LAMMPS Input File (License CC BY 4.0)
2-
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
3-
# The DOI will be added upon publication
1+
# LAMMPS Input File
2+
# Licensed under CC BY 4.0
3+
# By Simon Gravelle, Cecilia M. S. Alvares, Jacob R. Gissinger, and Axel Kohlmeyer
4+
# Please cite doi.org/10.48550/arXiv.2503.14020
45
# Find more on GitHub: https://github.com/lammpstutorials
56

67
# 1) Initialization
@@ -25,7 +26,7 @@ pair_style lj/cut 4.0
2526
pair_coeff 1 1 1.0 1.0
2627
pair_coeff 2 2 0.5 3.0
2728

28-
# 4) Visualization
29+
# 4) Monitoring
2930
thermo 10
3031
thermo_style custom step etotal press
3132

files/tutorial1/solution/initial.lmp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# LAMMPS Input File (License CC BY 4.0)
2-
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
3-
# The DOI will be added upon publication
1+
# LAMMPS Input File
2+
# Licensed under CC BY 4.0
3+
# By Simon Gravelle, Cecilia M. S. Alvares, Jacob R. Gissinger, and Axel Kohlmeyer
4+
# Please cite doi.org/10.48550/arXiv.2503.14020
45
# Find more on GitHub: https://github.com/lammpstutorials
56

67
# PART A - ENERGY MINIMIZATION
@@ -23,15 +24,15 @@ pair_style lj/cut 4.0
2324
pair_coeff 1 1 1.0 1.0
2425
pair_coeff 2 2 0.5 3.0
2526

26-
# 4) Visualization
27+
# 4) Monitoring
2728
thermo 10
2829
thermo_style custom step etotal press
2930

3031
# 5) Run
3132
minimize 1.0e-6 1.0e-6 1000 10000
3233

3334
# PART B - MOLECULAR DYNAMICS
34-
# 4) Visualization
35+
# 4) Monitoring
3536
thermo 50
3637
thermo_style custom step temp etotal pe ke press
3738
dump viz all image 100 myimage-*.ppm type type &

files/tutorial2/breakable.lmp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# LAMMPS Input File (License CC BY 4.0)
2-
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
3-
# The DOI will be added upon publication
1+
# LAMMPS Input File
2+
# Licensed under CC BY 4.0
3+
# By Simon Gravelle, Cecilia M. S. Alvares, Jacob R. Gissinger, and Axel Kohlmeyer
4+
# Please cite doi.org/10.48550/arXiv.2503.14020
45
# Find more on GitHub: https://github.com/lammpstutorials
56

67
units metal

files/tutorial2/solution/breakable-with-tip.lmp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# Python script (License CC BY 4.0)
2-
# By Simon Gravelle, Jacob R. Gissinger, and Axel Kohlmeyer
3-
# The DOI will be added upon publication
1+
# LAMMPS Input File
2+
# Licensed under CC BY 4.0
3+
# By Simon Gravelle, Cecilia M. S. Alvares, Jacob R. Gissinger, and Axel Kohlmeyer
4+
# Please cite doi.org/10.48550/arXiv.2503.14020
45
# Find more on GitHub: https://github.com/lammpstutorials
56

67
units metal

0 commit comments

Comments
 (0)