Skip to content

Commit f3d2752

Browse files
committed
improved figures
1 parent 2b4763e commit f3d2752

13 files changed

Lines changed: 75611 additions & 8878 deletions

File tree

figures/PEG-density.png

50.1 KB
Loading

figures/PEG-distance.png

3.5 KB
Loading
-3.38 KB
Binary file not shown.

files/tutorial3/solution/pull.dat

Lines changed: 74988 additions & 8592 deletions
Large diffs are not rendered by default.

files/tutorial3/solution/pull.ipynb

Lines changed: 182 additions & 0 deletions
Large diffs are not rendered by default.

files/tutorial3/solution/pull.lmp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ compute dphi PEG dihedral/local phi
3434
thermo_style custom step temp etotal c_rgyr # c_mphi
3535
thermo 250
3636

37-
dump mydmp all local 100 pull.dat index c_dphi c_prop
37+
dump mydmp all local 50 pull.dat index c_dphi c_prop
3838

3939
# S.G.: a histogram would be ok if one could select only dihedral 2
4040
# fix myhisto all ave/histo 100 120 15000 0 180 90 c_dphi file pull.dat ave running mode vector

files/tutorial3/solution/pull.log

Lines changed: 195 additions & 203 deletions
Large diffs are not rendered by default.

files/tutorial3/solution/read_dihedral.ipynb

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

files/tutorial3/solution/water.ipynb

Lines changed: 140 additions & 0 deletions
Large diffs are not rendered by default.

files/tutorial3/solution/water.lmp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,15 @@ dump_modify viz backcolor white &
3737

3838
variable myvol equal vol
3939
variable myoxy equal count(H2O)/3
40-
variable rho equal ${myoxy}/v_myvol
40+
variable NA equal 6.022e23
41+
variable Atom equal 1e-10
42+
variable M equal 0.018015
43+
variable rho equal ${myoxy}*${M}/(v_myvol*${NA}*${Atom}^3)
4144
thermo 500
4245
thermo_style custom step temp etotal v_myvol v_rho
4346

4447
timestep 1.0
45-
run 10000
48+
run 15000
4649

4750
write_restart water.restart
4851
# write_data water.data # uncomment to write a .data file as well

0 commit comments

Comments
 (0)