Skip to content

Commit 99ce25c

Browse files
authored
Merge pull request #77 from openforcefield/update-water-vdw
Use vdWHandler 0.4 in water models and scripts
2 parents 19d29a8 + 654b985 commit 99ce25c

17 files changed

+601
-17
lines changed

devtools/conda-envs/canary_env.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ dependencies:
55
- python
66
- pip
77
- pytest
8-
- openff-toolkit
8+
- openff-toolkit >=0.14.3
99
- openmmforcefields

devtools/conda-envs/test_env.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
dependencies:
55
- python
66
- pip
7-
- openff-toolkit
7+
- openff-toolkit >=0.14.3
88
- pytest
99
- pytest-cov
1010
- pandas

openforcefields/offxml/opc-1.0.2.offxml

Lines changed: 139 additions & 0 deletions
Large diffs are not rendered by default.

openforcefields/offxml/opc.offxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<SMIRNOFF version="0.3" aromaticity_model="OEAroModel_MDL">
3-
<vdW version="0.3" potential="Lennard-Jones-12-6" combining_rules="Lorentz-Berthelot" scale12="0.0" scale13="0.0" scale14="0.5" scale15="1.0" cutoff="9.0 * angstrom ** 1" switch_width="1.0 * angstrom ** 1" method="cutoff">
3+
<vdW version="0.4" potential="Lennard-Jones-12-6" combining_rules="Lorentz-Berthelot" scale12="0.0" scale13="0.0" scale14="0.5" scale15="1.0" cutoff="9.0 * angstrom ** 1" switch_width="1.0 * angstrom ** 1" periodic_method="cutoff" nonperiodic_method="no-cutoff">
44
<Atom smirks="[#1]-[#8X2H2+0:1]-[#1]" epsilon="0.212800813 * kilocalorie_per_mole ** 1" id="n-opc-O" rmin_half="1.777167268 * angstrom ** 1"></Atom>
55
<Atom smirks="[#1:1]-[#8X2H2+0]-[#1]" epsilon="0.0 * kilocalorie_per_mole ** 1" id="n-opc-H" rmin_half="1.0 * angstrom ** 1"></Atom>
66
<Atom smirks="[#3X0+1:1]" epsilon="0.00216058 * kilocalorie_per_mole ** 1" id="n-ionslm-126-opc-Li+" rmin_half="1.242 * angstrom ** 1"></Atom>

openforcefields/offxml/opc3-1.0.1.offxml

Lines changed: 136 additions & 0 deletions
Large diffs are not rendered by default.

openforcefields/offxml/opc3.offxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<SMIRNOFF version="0.3" aromaticity_model="OEAroModel_MDL">
3-
<vdW version="0.3" potential="Lennard-Jones-12-6" combining_rules="Lorentz-Berthelot" scale12="0.0" scale13="0.0" scale14="0.5" scale15="1.0" cutoff="9.0 * angstrom ** 1" switch_width="1.0 * angstrom ** 1" method="cutoff">
3+
<vdW version="0.4" potential="Lennard-Jones-12-6" combining_rules="Lorentz-Berthelot" scale12="0.0" scale13="0.0" scale14="0.5" scale15="1.0" cutoff="9.0 * angstrom ** 1" switch_width="1.0 * angstrom ** 1" periodic_method="cutoff" nonperiodic_method="no-cutoff">
44
<Atom smirks="[#1]-[#8X2H2+0:1]-[#1]" epsilon="0.163406 * kilocalorie_per_mole ** 1" id="n-opc3-O" rmin_half="1.781499 * angstrom ** 1"></Atom>
55
<Atom smirks="[#1:1]-[#8X2H2+0]-[#1]" epsilon="0.0 * kilocalorie_per_mole ** 1" id="n-opc3-H" rmin_half="1.0 * angstrom ** 1"></Atom>
66
<Atom smirks="[#3X0+1:1]" epsilon="0.0032565 * kilocalorie_per_mole ** 1" id="n-ionslm-126-opc3-Li+" rmin_half="1.27 * angstrom ** 1"></Atom>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<SMIRNOFF version="0.3" aromaticity_model="OEAroModel_MDL">
3+
<vdW version="0.4" potential="Lennard-Jones-12-6" combining_rules="Lorentz-Berthelot" scale12="0.0" scale13="0.0" scale14="0.5" scale15="1.0" cutoff="9.0 * angstrom ** 1" switch_width="1.0 * angstrom ** 1" periodic_method="cutoff" nonperiodic_method="no-cutoff">
4+
<Atom smirks="[#1]-[#8X2H2+0:1]-[#1]" epsilon="0.1521 * kilocalorie_per_mole ** 1" id="n-tip3p-O" sigma="3.1507 * angstrom ** 1"></Atom>
5+
<Atom smirks="[#1:1]-[#8X2H2+0]-[#1]" epsilon="0.0 * kilocalorie_per_mole ** 1" id="n-tip3p-H" sigma="1.0 * nanometer ** 1"></Atom>
6+
<Atom smirks="[#3X0+1:1]" epsilon="0.0279896 * kilocalorie_per_mole ** 1" rmin_half="1.025 * angstrom ** 1"></Atom>
7+
<Atom smirks="[#11X0+1:1]" epsilon="0.0874393 * kilocalorie_per_mole ** 1" rmin_half="1.369 * angstrom ** 1"></Atom>
8+
<Atom smirks="[#19X0+1:1]" epsilon="0.1936829 * kilocalorie_per_mole ** 1" rmin_half="1.705 * angstrom ** 1"></Atom>
9+
<Atom smirks="[#37X0+1:1]" epsilon="0.3278219 * kilocalorie_per_mole ** 1" rmin_half="1.813 * angstrom ** 1"></Atom>
10+
<Atom smirks="[#55X0+1:1]" epsilon="0.4065394 * kilocalorie_per_mole ** 1" rmin_half="1.976 * angstrom ** 1"></Atom>
11+
<Atom smirks="[#9X0-1:1]" epsilon="0.003364 * kilocalorie_per_mole ** 1" rmin_half="2.303 * angstrom ** 1"></Atom>
12+
<Atom smirks="[#17X0-1:1]" epsilon="0.035591 * kilocalorie_per_mole ** 1" rmin_half="2.513 * angstrom ** 1"></Atom>
13+
<Atom smirks="[#35X0-1:1]" epsilon="0.0586554 * kilocalorie_per_mole ** 1" rmin_half="2.608 * angstrom ** 1"></Atom>
14+
<Atom smirks="[#53X0-1:1]" epsilon="0.0536816 * kilocalorie_per_mole ** 1" rmin_half="2.86 * angstrom ** 1"></Atom>
15+
</vdW>
16+
<LibraryCharges version="0.3">
17+
<LibraryCharge smirks="[#1]-[#8X2H2+0:1]-[#1]" charge1="-0.834 * elementary_charge ** 1" id="q-tip3p-O"></LibraryCharge>
18+
<LibraryCharge smirks="[#1:1]-[#8X2H2+0]-[#1]" charge1="0.417 * elementary_charge ** 1" id="q-tip3p-H"></LibraryCharge>
19+
<LibraryCharge smirks="[#3X0+1:1]" charge1="1 * elementary_charge ** 1"></LibraryCharge>
20+
<LibraryCharge smirks="[#11X0+1:1]" charge1="1 * elementary_charge ** 1"></LibraryCharge>
21+
<LibraryCharge smirks="[#19X0+1:1]" charge1="1 * elementary_charge ** 1"></LibraryCharge>
22+
<LibraryCharge smirks="[#37X0+1:1]" charge1="1 * elementary_charge ** 1"></LibraryCharge>
23+
<LibraryCharge smirks="[#55X0+1:1]" charge1="1 * elementary_charge ** 1"></LibraryCharge>
24+
<LibraryCharge smirks="[#9X0-1:1]" charge1="-1 * elementary_charge ** 1"></LibraryCharge>
25+
<LibraryCharge smirks="[#17X0-1:1]" charge1="-1 * elementary_charge ** 1"></LibraryCharge>
26+
<LibraryCharge smirks="[#35X0-1:1]" charge1="-1 * elementary_charge ** 1"></LibraryCharge>
27+
<LibraryCharge smirks="[#53X0-1:1]" charge1="-1 * elementary_charge ** 1"></LibraryCharge>
28+
</LibraryCharges>
29+
<Electrostatics version="0.4" scale12="0.0" scale13="0.0" scale14="0.8333333333" scale15="1.0" cutoff="9.0 * angstrom ** 1" switch_width="0.0 * angstrom ** 1" periodic_potential="Ewald3D-ConductingBoundary" nonperiodic_potential="Coulomb" exception_potential="Coulomb"></Electrostatics>
30+
<Constraints version="0.3">
31+
<Constraint smirks="[#1:1]-[#8X2H2+0:2]-[#1]" id="c-tip3p-H-O" distance="0.9572 * angstrom ** 1"></Constraint>
32+
<Constraint smirks="[#1:1]-[#8X2H2+0]-[#1:2]" id="c-tip3p-H-O-H" distance="1.5139006545247014 * angstrom ** 1"></Constraint>
33+
</Constraints>
34+
</SMIRNOFF>

openforcefields/offxml/tip3p.offxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<SMIRNOFF version="0.3" aromaticity_model="OEAroModel_MDL">
3-
<vdW version="0.3" potential="Lennard-Jones-12-6" combining_rules="Lorentz-Berthelot" scale12="0.0" scale13="0.0" scale14="0.5" scale15="1.0" cutoff="9.0 * angstrom ** 1" switch_width="1.0 * angstrom ** 1" method="cutoff">
3+
<vdW version="0.4" potential="Lennard-Jones-12-6" combining_rules="Lorentz-Berthelot" scale12="0.0" scale13="0.0" scale14="0.5" scale15="1.0" cutoff="9.0 * angstrom ** 1" switch_width="1.0 * angstrom ** 1" periodic_method="cutoff" nonperiodic_method="no-cutoff">
44
<Atom smirks="[#1]-[#8X2H2+0:1]-[#1]" epsilon="0.1521 * kilocalorie_per_mole ** 1" id="n-tip3p-O" sigma="3.1507 * angstrom ** 1"></Atom>
55
<Atom smirks="[#1:1]-[#8X2H2+0]-[#1]" epsilon="0.0 * kilocalorie_per_mole ** 1" id="n-tip3p-H" sigma="1.0 * nanometer ** 1"></Atom>
66
<Atom smirks="[#3X0+1:1]" epsilon="0.0279896 * kilocalorie_per_mole ** 1" rmin_half="1.025 * angstrom ** 1"></Atom>

0 commit comments

Comments
 (0)