| 1 |
# PREREQUISITES: |
| 2 |
# |
| 3 |
# You must use moltemplate.sh to create 4 files: |
| 4 |
# system.data system.in.init system.in.settings system.in.charges |
| 5 |
# (Follow the instructions in README_setup.sh, |
| 6 |
# or run the file as a script using ./README_setup.sh) |
| 7 |
|
| 8 |
# ------------------------------- Initialization Section -------------------- |
| 9 |
|
| 10 |
include "system.in.init" |
| 11 |
|
| 12 |
# ------------------------------- Atom Definition Section ------------------- |
| 13 |
|
| 14 |
read_data "system.data" |
| 15 |
|
| 16 |
# OPLSAA atom charges are stored in a separate file. |
| 17 |
# Load that file now: |
| 18 |
|
| 19 |
include "system.in.charges" |
| 20 |
|
| 21 |
# ------------------------------- Settings Section -------------------------- |
| 22 |
|
| 23 |
include "system.in.settings" |
| 24 |
|
| 25 |
# ------------------------------- Run Section ------------------------------- |
| 26 |
|
| 27 |
|
| 28 |
# -- minimization protocol -- |
| 29 |
|
| 30 |
unfix fShakeSPCE # Disable SHAKE during minimization and pressure equilibr |
| 31 |
|
| 32 |
# Minimise the input structure |
| 33 |
# min_style hftn |
| 34 |
minimize 1e-4 1e-6 10000 100000 |
| 35 |
write_data system_after_min.data |
| 36 |
|