Skip to content

Commit

Permalink
Merge pull request #108 from bc118/add_ff_forms
Browse files Browse the repository at this point in the history
added Exp6-AAD, AMBER-AA, TRAPPE-UA, Mie-UA, FF styles tests and XML …
  • Loading branch information
bc118 authored Aug 4, 2024
2 parents f9cca53 + 1f5fb1f commit 0129997
Show file tree
Hide file tree
Showing 53 changed files with 5,395 additions and 416 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ fit_dihedral_with_gomc(
atom_type_naming_style='general',
gomc_cpu_cores=1,
r_squared_min=0.99,
r_squared_rtol=1e-03
r_squared_rtol=1e-03,
opls_set_k0_zero=True
)
import os
os.system("cat RB_torsion_k_constants_fit_energy.txt")
Expand Down Expand Up @@ -53,15 +54,15 @@ The MoSDeF-dihedral-fit documentation can be found [here](https://mosdef-dihedra

<u>OPLS-dihedral</u>:

$$OPLS_{Energy} = \frac{f_0}{2}$$
$$U_{OPLS} = \frac{k_0}{2}$$

$$+ \frac{f_1}{2} * (1 + cos(\theta)) + \frac{f_2}{2} * (1-cos(2 * \theta))$$
$$+ \frac{k_1}{2} * (1 + cos(\theta)) + \frac{k_2}{2} * (1-cos(2 * \theta))$$

$$+ \frac{f_3}{2} * (1 + cos(3 * \theta)) + \frac{f_4}{2} *(1-cos(4 * \theta))$$
$$+ \frac{k_3}{2} * (1 + cos(3 * \theta)) + \frac{k_4}{2} *(1-cos(4 * \theta))$$

<u>Ryckaert-Bellemans (RB)-torsions</u>:

$$RB_{Energy} = C_0$$
$$U_{RB} = C_0$$

$$+ C_1 * cos(\psi) + C_2 * cos(\psi)^2$$

Expand All @@ -71,7 +72,7 @@ $$\psi = \theta - 180^o$$

<u>Periodic-dihedral</u>:

$$Periodic_{Energy} = K_0 * (1 + cos(n_0*\theta - 90^o))$$
$$U_{Periodic} = K_0 * (1 + cos(n_0*\theta - 90^o))$$

$$+ K_1 * (1 + cos(n_1*\theta - 180^o)) + K_2 * (1 + cos(n_2*\theta))$$

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ Run the dihedral fit to fit to the MM simulations:
atom_type_naming_style='general',
gomc_cpu_cores=1,
r_squared_min=0.99,
r_squared_rtol=1e-03
r_squared_rtol=1e-03,
opls_force_k0_zero=True
)
The most important output files:
Expand Down Expand Up @@ -195,7 +196,8 @@ Run the dihedral fit to fit to the MM simulations:
atom_type_naming_style='general',
gomc_cpu_cores=1,
r_squared_min=0.99,
r_squared_rtol=5e-03
r_squared_rtol=5e-03,
opls_force_k0_zero=True
)
The most important output files:
Expand Down
14 changes: 7 additions & 7 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,18 @@ the dihedral in **GOMC >= v2.75** and comparing it to the original **Gaussian 16
OPLS-dihedral:

.. math::
OPLS_{Energy} = \frac{f_0}{2}
+ \frac{f_1}{2}*(1+cos(\theta))
+ \frac{f_2}{2}*(1-cos(2*\theta))
U_{OPLS} = \frac{k_0}{2}
+ \frac{k_1}{2}*(1+cos(\theta))
+ \frac{k_2}{2}*(1-cos(2*\theta))
.. math::
+ \frac{f_3}{2}*(1+cos(3*\theta))
+ \frac{f_4}{2}*(1-cos(4*\theta))
+ \frac{k_3}{2}*(1+cos(3*\theta))
+ \frac{k_4}{2}*(1-cos(4*\theta))
Ryckaert-Bellemans (RB)-torsions:

.. math::
RB_{Energy} = C_0 + C_1*cos(\psi)
U_{RB} = C_0 + C_1*cos(\psi)
+ C_2*cos(\psi)^2
+ C_3*cos(\psi)^3
+ C_4*cos(\psi)^4
Expand All @@ -63,7 +63,7 @@ Ryckaert-Bellemans (RB)-torsions:
Periodic-dihedral:

.. math::
Periodic_{Energy} = K_0 * (1 + cos(n_0*\theta - 90^o))
U_{Periodic} = K_0 * (1 + cos(n_0*\theta - 90^o))
.. math::
+ K_1 * (1 + cos(n_1*\theta - 180^o))
Expand Down
14 changes: 7 additions & 7 deletions docs/overview/general_info.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,18 @@ the dihedral in **GOMC >= v2.75** and comparing it to the original **Gaussian 16
OPLS-dihedral:

.. math::
OPLS_{Energy} = \frac{f_0}{2}
+ \frac{f_1}{2}*(1+cos(\theta))
+ \frac{f_2}{2}*(1-cos(2*\theta))
U_{OPLS} = \frac{k_0}{2}
+ \frac{k_1}{2}*(1+cos(\theta))
+ \frac{k_2}{2}*(1-cos(2*\theta))
.. math::
+ \frac{f_3}{2}*(1+cos(3*\theta))
+ \frac{f_4}{2}*(1-cos(4*\theta))
+ \frac{k_3}{2}*(1+cos(3*\theta))
+ \frac{k_4}{2}*(1-cos(4*\theta))
Ryckaert-Bellemans (RB)-torsions:

.. math::
RB_{Energy} = C_0 + C_1*cos(\psi)
U_{RB} = C_0 + C_1*cos(\psi)
+ C_2*cos(\psi)^2
+ C_3*cos(\psi)^3
+ C_4*cos(\psi)^4
Expand All @@ -66,7 +66,7 @@ Ryckaert-Bellemans (RB)-torsions:
Periodic-dihedral:

.. math::
Periodic_{Energy} = K_0 * (1 + cos(n_0*\theta - 90^o))
U_{Periodic} = K_0 * (1 + cos(n_0*\theta - 90^o))
.. math::
+ K_1 * (1 + cos(n_1*\theta - 180^o))
Expand Down
Loading

0 comments on commit 0129997

Please sign in to comment.