VES_OUTPUT_BASISFUNCTIONS
This is part of the ves module
It is only available if you configure PLUMED with ./configure –enable-modules=ves . Furthermore, this feature is still being developed so take care when using it and report any problems on the mailing list.

Output basis functions to file.

This action can be used to write out to a grid file the values and derivatives of given basis functions. This is normally used for debugging when programming new types of basis functions. For example, it is possible to calculate the derivatives numerically and compare to the analytically calculated derivatives.

This action is normally used through the driver.

Compulsory keywords
BASIS_FUNCTIONS the label of the basis functions that you want to use
Options
IGNORE_PERIODICITY ( default=off ) if the periodicity of the basis functions should be ignored.
NUMERICAL_DERIVATIVES

( default=off ) if the derivatives of the basis functions should be calculated numerically.

GRID_BINS the number of bins used for the grid for writing the basis function values and derivatives. The default value is 1000.
GRID_MIN the minimum of the grid for writing the basis function values and derivatives. By default it is the minimum of the interval on which the basis functions are defined.
GRID_MAX the maximum of the grid for writing the basis function values and derivatives. By default it is the maximum of the interval on which the basis functions are defined.
FILE_VALUES filename of the file on which the basis function values are written. By default it is BF_LABEL.values.data.
FILE_DERIVS filename of the file on which the basis function derivatives are written. By default it is BF_LABEL.derivs.data.
FORMAT_VALUES_DERIVS the numerical format of the basis function values and derivatives written to file. By default it is %15.8f.
FILE_TARGETDIST_AVERAGES filename of the file on which the averages over the target distributions are written. By default it is BF_LABEL.targetdist-averages.data.
FORMAT_TARGETDIST_AVERAGES the numerical format of the target distribution averages written to file. By default it is %15.8f.
FILE_TARGETDIST filename of the files on which the target distributions are written. By default it is BF_LABEL.targetdist-#.data.
TARGET_DISTRIBUTION the target distribution to be used. You can use multiple instances of this keyword i.e. TARGET_DISTRIBUTION1, TARGET_DISTRIBUTION2, TARGET_DISTRIBUTION3...
Examples

In the following input we define a Legendre polynomials basis functions of order 14 over the interval -4.0 to 4.0 and output their values and derivatives to files called bfL.values.data and bfL.derivs.data.

BF_LEGENDRE ...
 ORDER=14
 MINIMUM=-4.0
 MAXIMUM=4.0
 LABEL=bfL
... BF_LEGENDRE

VES_OUTPUT_BASISFUNCTIONS ...
 BASIS_FUNCTIONS=bfL
 GRID_BINS=200
 FORMAT_VALUES_DERIVS=%13.6f
... VES_OUTPUT_BASISFUNCTIONS

This input should be run through the driver by using a command similar to the following one where the trajectory/configuration file configuration.gro is needed to trick the code to exit correctly.

plumed driver --plumed plumed.dat --igro configuration.gro