Commit 60d22019 authored by Peter Eastman's avatar Peter Eastman
Browse files

Fixed a minor mistake in documentation

parent 3eb4fe2e
...@@ -55,7 +55,7 @@ namespace OpenMM { ...@@ -55,7 +55,7 @@ namespace OpenMM {
* As an example, the following code creates a CustomExternalForce that attracts each particle to a target position (x0, y0, z0) * As an example, the following code creates a CustomExternalForce that attracts each particle to a target position (x0, y0, z0)
* via a harmonic potential: * via a harmonic potential:
* *
* <tt>CustomExternalForce* force = new CustomExternalForce("k*((x-x0)^2+(y-y0)^2+(z-z0)^2");</tt> * <tt>CustomExternalForce* force = new CustomExternalForce("k*((x-x0)^2+(y-y0)^2+(z-z0)^2)");</tt>
* *
* This force depends on four parameters: the spring constant k and equilibrium coordinates x0, y0, and z0. The following code defines these parameters: * This force depends on four parameters: the spring constant k and equilibrium coordinates x0, y0, and z0. The following code defines these parameters:
* *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment