| 1 |
import "ethylene.lt" # <- defines the "Ethylene" molecule type. |
| 2 |
import "benzene.lt" # <- defines the "Benzene" molecule type. |
| 3 |
|
| 4 |
|
| 5 |
# Periodic boundary conditions: |
| 6 |
write_once("Data Boundary") { |
| 7 |
0.0 48.00 xlo xhi |
| 8 |
0.0 48.00 ylo yhi |
| 9 |
0.0 48.00 zlo zhi |
| 10 |
} |
| 11 |
|
| 12 |
# NOTE: The order that you instantiate the molecules should match the order that |
| 13 |
# they appear in the XYZ file which PACKMOL creates, which should match |
| 14 |
# the order they are created in the PACKMOL .INP file. |
| 15 |
# (In bot cases, 216 "Ethylenes" are created before the 108 "Benzenes".) |
| 16 |
|
| 17 |
# Create 216 "Ethylene" molecules |
| 18 |
|
| 19 |
ethylenes = new Ethylene [216] |
| 20 |
|
| 21 |
# Create 108 "Benzene" molecules |
| 22 |
|
| 23 |
benzenes = new Benzene[108] |
| 24 |
|