| 1 |
import "spc_oplsaa2024.lt" # <- defines the "SPC" (water) molecule type |
| 2 |
|
| 3 |
# Note: The "spc_oplsaa2024.lt" file is located at: |
| 4 |
# https://github.com/jewettaij/moltemplate/tree/master/moltemplate/force_fields/ |
| 5 |
# (If you want to customize it, you can download it and copy it to this folder.) |
| 6 |
|
| 7 |
|
| 8 |
# Periodic boundary conditions: |
| 9 |
write_once("Data Boundary") { |
| 10 |
0.0 41.40 xlo xhi |
| 11 |
0.0 41.40 ylo yhi |
| 12 |
0.0 41.40 zlo zhi |
| 13 |
} |
| 14 |
|
| 15 |
# The next command generates a (rather dense) cubic lattice with |
| 16 |
# spacing 3.45 Angstroms. (The pressure must be equilibrated later.) |
| 17 |
|
| 18 |
waters = new SPC [12].move(0.00, 0.00, 3.45) |
| 19 |
[12].move(0.00, 3.45, 0.00) |
| 20 |
[12].move(3.45, 0.00, 0.00) |
| 21 |
|