Commit 03a2eec0 authored by Peter Eastman's avatar Peter Eastman
Browse files

Added CustomCVForce to manual

parent f803ce45
...@@ -1158,6 +1158,21 @@ specified in three ways: ...@@ -1158,6 +1158,21 @@ specified in three ways:
* Per-donor parameters are defined by specifying a value for each donor group. * Per-donor parameters are defined by specifying a value for each donor group.
* Per-acceptor parameters are defined by specifying a value for each acceptor group. * Per-acceptor parameters are defined by specifying a value for each acceptor group.
CustomCVForce
*************
CustomCVForce computes an energy as a function of "collective variables". A
collective variable may be any scalar valued function of the particle positions
and other parameters. Each one is defined by a :code:`Force` object, so any
function that can be defined via any force class (either standard or custom) can
be used as a collective variable. The energy is then computed as
.. math::
E=f(...)
where *f*\ (...) is a user supplied mathematical expression of the collective
variables. It also may depend on user defined global parameters.
.. _writing-custom-expressions: .. _writing-custom-expressions:
......
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