This is part of the volumes module | |
It is only available if you configure PLUMED with ./configure –enable-modules=volumes . Furthermore, this feature is still being developed so take care when using it and report any problems on the mailing list. |
This quantity can be used to calculate functions of the distribution of collective variables for the atoms that lie in a region where the density of a certain type of atom is high.
This collective variable can be used to determine whether colvars are within region where the density of a particular atom is high. This is achieved by calculating the following function at the point where the atom is located \((x,y,z)\):
\[ w_j = 1 - \sigma\left[ \sum_{i=1}^N K\left( \frac{x-x_i}{\sigma_x},\frac{y-y_i}{\sigma_y},\frac{z-z_i}{\sigma_z} \right) \right] \]
Here \(\sigma\) is a switchingfunction and \(K\) is a kernelfunctions. The sum runs over the atoms specified using the ATOMS keyword and a \(w_j\) value is calculated for each of the central atoms of the input multicolvar.
The input below calculates a density field from the positions of atoms 1-14400. The number of the atoms that are specified in the DENSITY action that are within a region where the density field is greater than 2.0 is then calculated.
d1: DENSITYSPECIES=14401-74134:3compulsory keyword the atoms in the groupLOWMEMfi: INENVELOPEcould not find this keywordDATA=d1the label of an action that calculates multicolvars.ATOMS=1-14400the group of atoms that you would like to investigate.CONTOUR={RATIONAL D_0=2.0 R_0=1.0}compulsory keyword a switching funciton that tells PLUMED how large the density should beBANDWIDTH=0.1,0.1,0.1compulsory keyword the bandwidths for kernel density esimtationLOWMEMPRINTcould not find this keywordARG=ficompulsory keyword the labels of the values that you would like to print to the fileFILE=colvarthe name of the file on which to output these quantities
By default the value of the calculated quantity can be referenced elsewhere in the input file by using the label of the action. Alternatively this Action can be used to calculate the following quantities by employing the keywords listed below. These quantities can be referenced elsewhere in the input by using this Action's label followed by a dot and the name of the quantity required from the list below.
Quantity | Description |
.#!value | sum of values of input CVs in regin of interest |
In addition the following quantities can be calculated by employing the keywords listed below
Quantity | Keyword | Description |
lessthan | LESS_THAN | the number of cvs in the region of interest that are less than a certain threshold |
morethan | MORE_THAN | the number of cvs in the region of interest that are more than a certain threshold |
between | BETWEEN | the number of cvs in the region of interest that are within a certain range |
sum | SUM | the sum of all the colvars weighted by the function that determines if we are in the region |
mean | MEAN | the average values of the colvar in the region of interest |
ATOMS | the group of atoms that you would like to investigate. For more information on how to specify lists of atoms see Groups and Virtual Atoms |
FIELD_ATOMS | the atom whose positions we are constructing a field from. For more information on how to specify lists of atoms see Groups and Virtual Atoms |
KERNEL | ( default=gaussian ) the type of kernel function to be used |
BANDWIDTH | the bandwidths for kernel density esimtation |
CONTOUR | a switching funciton that tells PLUMED how large the density should be |
CUTOFF | ( default=6.25 ) the cutoff at which to stop evaluating the kernel functions is set equal to sqrt(2*x)*bandwidth in each direction where x is this number |
SERIAL | ( default=off ) do the calculation in serial. Do not parallelize |
OUTSIDE | ( default=off ) calculate quantities for colvars that are on atoms outside the region of interest |
SUM | ( default=off ) calculate the sum of all the quantities. |
MEAN | ( default=off ) calculate the average value of the colvar inside the region of interest |
DATA | the label of an action that calculates multicolvars. Weighted sums based on the location of the colvars calculated by this action will be calcualted |
LESS_THAN | calcualte the number of colvars that are inside the region of interest and that are less than a certain threshold |
MORE_THAN | calcualte the number of colvars that are inside the region of interest and that are greater that a certain threshold |
BETWEEN | calculate the number of colvars that are inside the region of interest and that have a CV value that is between a particular set of bounds |