Skip to content

Commit b26c23c

Browse files
committed
use restart files
1 parent f5b7d4c commit b26c23c

7 files changed

Lines changed: 14 additions & 12975 deletions

File tree

files/tutorial3/peg.mol

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,15 @@ Charges
144144
11 0.084
145145
12 0.084
146146
13 -0.023
147-
14 0.082
148-
15 0.082
147+
14 0.083
148+
15 0.083
149149
16 -0.283
150150
17 -0.023
151151
18 0.083
152152
19 0.083
153153
20 -0.023
154-
21 0.082
155-
22 0.082
154+
21 0.083
155+
22 0.083
156156
23 -0.283
157157
24 -0.023
158158
25 0.082
@@ -170,14 +170,14 @@ Charges
170170
37 -0.283
171171
38 -0.023
172172
39 0.082
173-
40 0.082
173+
40 0.083
174174
41 -0.023
175175
42 0.083
176176
43 0.083
177177
44 -0.283
178178
45 -0.023
179-
46 0.082
180-
47 0.082
179+
46 0.083
180+
47 0.083
181181
48 -0.021
182182
49 0.084
183183
50 0.084

files/tutorial3/solution/merge.data

Lines changed: 0 additions & 6535 deletions
This file was deleted.

files/tutorial3/solution/merge.lmp

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
11

2-
units real
3-
atom_style full
4-
bond_style harmonic
5-
angle_style harmonic
6-
dihedral_style harmonic
7-
pair_style lj/cut/coul/long 10
82
kspace_style ewald 1e-5
9-
special_bonds lj 0.0 0.0 0.5 coul 0.0 0.0 1.0 angle yes dihedral yes
10-
11-
read_data water.data &
12-
extra/bond/per/atom 3 &
13-
extra/angle/per/atom 6 &
14-
extra/dihedral/per/atom 10 &
15-
extra/special/per/atom 14
16-
include parameters.inc
3+
read_restart water.restart
174

185
molecule pegmol peg.mol
196
create_atoms 0 single 0 0 0 mol pegmol 454756
207

21-
group H2O type OW HW
228
group PEG type C CPos H HC OAlc OE
239

2410
delete_atoms overlap 2.0 H2O PEG mol yes
@@ -35,11 +21,12 @@ dump_modify viz backcolor white &
3521
adiam C 2.8 adiam CPos 2.8 adiam OAlc 2.6 &
3622
adiam H 1.4 adiam HC 1.4 adiam OE 2.6
3723

38-
fix mynpt all npt temp 300 300 100 x 1 1 1000
24+
#fix mynpt all npt temp 300 300 100 x 1 1 1000
3925
fix myrct PEG recenter 0 0 0 shift all
4026
timestep 1.0
4127

4228
thermo 500
4329
run 10000
4430

45-
write_data merge.data
31+
write_restart merge.restart
32+
# write_data merge.data # uncomment to write a .data file as well
330 KB
Binary file not shown.

files/tutorial3/solution/water.data

Lines changed: 0 additions & 6415 deletions
This file was deleted.

files/tutorial3/solution/water.lmp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,6 @@ thermo_style custom step temp etotal v_myvol v_rho
4343

4444
timestep 1.0
4545
run 10000
46-
write_data water.data
46+
47+
write_restart water.restart
48+
# write_data water.data # uncomment to write a .data file as well
325 KB
Binary file not shown.

0 commit comments

Comments
 (0)