CONSTANT
This is part of the generic module

Create a constant value that can be passed to actions

Useful in combination with functions that takes in input constants or parameters.

Examples

The following input instructs plumed to compute the distance between atoms 1 and 2. If this distance is between 1.0 and 2.0, it is printed. If it is lower than 1.0 (larger than 2.0), 1.0 (2.0) is printed

Click on the labels of the actions for more information on what each action computes
tested on master
cn: CONSTANT 
VALUES
the numbers that are in your constant value
=1.0,2.0 dis: DISTANCE
ATOMS
the pair of atom that we are calculating the distance between.
=1,2 sss: SORT
ARG
compulsory keyword the values input to this function
=cn.v-0,dis,cn.v-1 PRINT
ARG
compulsory keyword the labels of the values that you would like to print to the file
=sss.2

In case you want to pass a single value you can use VALUE:

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