MATHEVAL
This is part of the function module

An alias to the CUSTOM function.

This alias is kept in order to maintain compatibility with previous PLUMED versions. However, notice that as of PLUMED 2.5 the libmatheval library is not linked anymore, and the MATHEVAL function is implemented using the Lepton library.

Examples

Just replace CUSTOM with MATHEVAL.

Click on the labels of the actions for more information on what each action computes
tested on master




(see also DISTANCE, PRINT, and RESTRAINT)

Glossary of keywords and components
Compulsory keywords
PERIODIC if the output of your function is periodic then you should specify the periodicity of the function. If the output is not periodic you must state this using PERIODIC=NO
FUNC the function you wish to evaluate
Options
ARG the input to this function. You can use multiple instances of this keyword i.e. ARG1, ARG2, ARG3...
VAR the names to give each of the arguments in the function. If you have up to three arguments in your function you can use x, y and z to refer to them. Otherwise you must use this flag to give your variables names.