Skip to content

Commit 4f50add

Browse files
Merge pull request #18 from lammpstutorials/continue_type_label_updates
Continue type labels update
2 parents e780ca2 + ba5b92b commit 4f50add

5 files changed

Lines changed: 142 additions & 117 deletions

File tree

files/tutorial4/RigidH2O.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ Coords
1212

1313
Types
1414

15-
1 1
16-
2 2
17-
3 2
15+
1 O
16+
2 H
17+
3 H
1818

1919
Charges
2020

@@ -24,12 +24,12 @@ Charges
2424

2525
Bonds
2626

27-
1 1 1 2
28-
2 1 1 3
27+
1 O-H 1 2
28+
2 O-H 1 3
2929

3030
Angles
3131

32-
1 1 2 1 3
32+
1 H-O-H 2 1 3
3333

3434
Shake Flags
3535

@@ -45,9 +45,9 @@ Shake Atoms
4545

4646
Shake Bond Types
4747

48-
1 1 1 1
49-
2 1 1 1
50-
3 1 1 1
48+
1 O-H O-H H-O-H
49+
2 O-H O-H H-O-H
50+
3 O-H O-H H-O-H
5151

5252
Special Bond Counts
5353

files/tutorial5/silica.data

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ LAMMPS data file via write_data, version 3 Nov 2022, timestep = 5720000
77
2.439729779730601 18.145847931862118 ylo yhi
88
1.5469184683713184 19.038659243222867 zlo zhi
99

10+
Atom Type Labels
11+
12+
1 Si
13+
2 O
14+
1015
Masses
1116

1217
1 28.0855

files/tutorial6/H2O.mol

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ Coords
1212

1313
Types
1414

15-
1 3
16-
2 4
17-
3 4
15+
1 OW
16+
2 HW
17+
3 HW
1818

1919
Charges
2020

@@ -24,12 +24,12 @@ Charges
2424

2525
Bonds
2626

27-
1 1 1 2
28-
2 1 1 3
27+
1 OW-HW 1 2
28+
2 OW-HW 1 3
2929

3030
Angles
3131

32-
1 1 2 1 3
32+
1 HW-OW-HW 2 1 3
3333

3434
Shake Flags
3535

@@ -45,9 +45,9 @@ Shake Atoms
4545

4646
Shake Bond Types
4747

48-
1 1 1 1
49-
2 1 1 1
50-
3 1 1 1
48+
1 OW-HW OW-HW HW-OW-HW
49+
2 OW-HW OW-HW HW-OW-HW
50+
3 OW-HW OW-HW HW-OW-HW
5151

5252
Special Bond Counts
5353

files/tutorial6/SiO.data

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@
77
0 5.1463944279 ylo yhi
88
0 5.1463944279 zlo zhi
99

10-
Masses
11-
12-
1 28.0855
13-
2 15.9994
14-
15-
Atoms #atom-ID molecule-ID atom-type q x y z
16-
17-
1 1 1 1.1 2.308807 0.000000 3.603467
18-
2 1 1 1.1 -1.154403 1.999485 1.801733
19-
3 1 1 1.1 -1.154403 -1.999485 0.000000
20-
4 1 2 -0.550000 1.375998 1.140800 4.245244
21-
5 1 2 -0.550000 -1.675961 0.621249 7.848711
22-
6 1 2 -0.550000 0.299963 -1.762049 6.046977
23-
7 1 2 -0.550000 0.299963 1.762049 -4.245244
24-
8 1 2 -0.550000 -1.675961 -0.621249 -0.64177
25-
9 1 2 -0.550000 1.375998 -1.140800 -2.443511
10+
Atom Type Labels
2611

12+
1 Si
13+
2 O
2714

15+
Masses
2816

17+
Si 28.0855
18+
O 15.9994
2919

20+
Atoms #atom-ID molecule-ID atom-type q x y z
3021

22+
1 1 Si 1.1 2.308807 0.000000 3.603467
23+
2 1 Si 1.1 -1.154403 1.999485 1.801733
24+
3 1 Si 1.1 -1.154403 -1.999485 0.000000
25+
4 1 O -0.550000 1.375998 1.140800 4.245244
26+
5 1 O -0.550000 -1.675961 0.621249 7.848711
27+
6 1 O -0.550000 0.299963 -1.762049 6.046977
28+
7 1 O -0.550000 0.299963 1.762049 -4.245244
29+
8 1 O -0.550000 -1.675961 -0.621249 -0.64177
30+
9 1 O -0.550000 1.375998 -1.140800 -2.443511

0 commit comments

Comments
 (0)