From 4d34e5507264885ba343e291e485b23ae8b5b0ef Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 11 May 2018 17:31:14 -0400 Subject: [PATCH] rename jpeg file, recreate tex file and fix typo in docs for dihedral style table/cut --- .../{dihedral_table.jpg => dihedral_table_cut.jpg} | Bin doc/src/Eqs/dihedral_table_cut.tex | 11 +++++++++++ doc/src/Section_commands.txt | 2 +- doc/src/dihedral_table_cut.txt | 3 ++- 4 files changed, 14 insertions(+), 2 deletions(-) rename doc/src/Eqs/{dihedral_table.jpg => dihedral_table_cut.jpg} (100%) create mode 100644 doc/src/Eqs/dihedral_table_cut.tex diff --git a/doc/src/Eqs/dihedral_table.jpg b/doc/src/Eqs/dihedral_table_cut.jpg similarity index 100% rename from doc/src/Eqs/dihedral_table.jpg rename to doc/src/Eqs/dihedral_table_cut.jpg diff --git a/doc/src/Eqs/dihedral_table_cut.tex b/doc/src/Eqs/dihedral_table_cut.tex new file mode 100644 index 0000000000..3cc1d331a8 --- /dev/null +++ b/doc/src/Eqs/dihedral_table_cut.tex @@ -0,0 +1,11 @@ +\documentclass[12pt]{article} +\pagestyle{empty} +\begin{document} + +\begin{eqnarray*} + f(\theta) & = & K \qquad\qquad\qquad\qquad\qquad\qquad \theta < \theta_1 \\ + f(\theta) & = & K \left(1-\frac{(\theta - \theta_1)^2}{(\theta_2 - \theta_1)^2}\right) \qquad \theta_1 < \theta < \theta_2 +\end{eqnarray*} + +\end{document} + diff --git a/doc/src/Section_commands.txt b/doc/src/Section_commands.txt index b692e44b9f..3dabdbeaa1 100644 --- a/doc/src/Section_commands.txt +++ b/doc/src/Section_commands.txt @@ -1212,7 +1212,7 @@ package"_Section_start.html#start_3. "nharmonic (o)"_dihedral_nharmonic.html, "quadratic (o)"_dihedral_quadratic.html, "spherical (o)"_dihedral_spherical.html, -"table (o)"_dihedral_table.html +"table (o)"_dihedral_table.html, "table/cut"_dihedral_table_cut.html :tb(c=4,ea=c) :line diff --git a/doc/src/dihedral_table_cut.txt b/doc/src/dihedral_table_cut.txt index c85a794434..1c83d4ffa0 100644 --- a/doc/src/dihedral_table_cut.txt +++ b/doc/src/dihedral_table_cut.txt @@ -60,8 +60,9 @@ filename keyword :ul The cutoff dihedral style uses a tabulated dihedral interaction with a -cutoff function (TODO: add image of formula here) +cutoff function: +:c,image(Eqs/dihedral_table_cut.jpg) The cutoff specifies an prefactor to the cutoff function. While this value would ordinarily equal 1 there may be situations where the value should change.