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
d: DISTANCE ATOMSthe pair of atom that we are calculating the distance between. =10,15
m: MATHEVAL ARGthe input for this action is the scalar output from one or more other actions. =d FUNCcompulsory keyword
the function you wish to evaluate =0.5*step(0.5-x)+x*step(x-0.5) PERIODICcompulsory keyword
if the output of your function is periodic then you should specify the periodicity
of the function. =NO
# check the function you are applying:
PRINT ARGthe input for this action is the scalar output from one or more other actions. =d,m FILEthe name of the file on which to output these quantities =checkme
RESTRAINT ARGthe input for this action is the scalar output from one or more other actions. =d ATcompulsory keyword
the position of the restraint =0.5 KAPPAcompulsory keyword ( default=0.0 )
specifies that the restraint is harmonic and what the values of the force constants
on each of the variables are =10.0