Action: REWEIGHT_METAD
| Module | bias |
|---|---|
| Description | Usage |
| Calculate the weights configurations should contribute to the histogram in a simulation in which a metadynamics bias acts upon the system. | |
| output value | type |
| the weight to use for this frame to negate the effect the metadynamics bias | scalar |
Details and examples
Calculate the weights configurations should contribute to the histogram in a simulation in which a metadynamics bias acts upon the system.
This command allows you to use the reweighting algorithm discussed in the paper cited below when constructing a histogram of the configurations visited during a metadynamics simulation.
Examples
In the following example there is a metadynamics bias acting on the distance between atoms 1 and 2. Clearly, this bias will have an effect on the region of phase space that will be sampled when an MD simulation is run using this variable. Consequently, when the histogram as a function of the angle, , is accumulated, we use reweighting into order to discount the effect of the bias from our final histogram. We do not use REWEIGHT_BIAS here, however, as the bias changes with time. We thus use the reweighting algorithm for metadynamics instead. Notice also that we have to specify how often we would like to calculate the reweighting factor and the grid over which we calculate in the input to the METAD command.
a: ANGLECalculate one or multiple angle/s. More details ATOMSthe list of atoms involved in this collective variable (either 3 or 4 atoms)=1,2,3 x: DISTANCECalculate the distance/s between pairs of atoms. More details ATOMSthe pair of atom that we are calculating the distance between=1,2 METADUsed to performed metadynamics on one or more collective variables. More details ARGthe labels of the scalars on which the bias will act=x PACEthe frequency for hill addition=100 SIGMAthe widths of the Gaussian hills=0.1 HEIGHTthe heights of the Gaussian hills=1.5 BIASFACTORuse well tempered metadynamics and use this bias factor=5 GRID_MINthe lower bounds for the grid=0 GRID_MAXthe upper bounds for the grid=10 GRID_BINthe number of bins for the grid=100 CALC_RCT calculate the c(t) reweighting factor and use that to obtain the normalized bias [rbias=bias-rct] RCT_USTRIDEthe update stride for calculating the c(t) reweighting factor=50 bias: REWEIGHT_METADCalculate the weights configurations should contribute to the histogram in a simulation in which a metadynamics bias acts upon the system. This action has hidden defaults. More details TEMPthe system temperature=300
hB: HISTOGRAMAccumulate the average probability density along a few CVs from a trajectory. This action is a shortcut and it has hidden defaults. More details ... ARGthe quantities that are being used to construct the histogram=a GRID_MIN the lower bounds for the grid=0.0 GRID_MAX the upper bounds for the grid=pi GRID_BINthe number of bins for the grid=100 BANDWIDTHthe bandwidths for kernel density esimtation=0.1 LOGWEIGHTSthe logarithm of the quantity to use as the weights when calculating averages=bias ...
DUMPGRIDOutput the function on the grid to a file with the PLUMED grid format. More details ARGthe label for the grid that you would like to output=hB FILE the file on which to write the grid=histoB STRIDE the frequency with which the grid should be output to the file=1
Input
The arguments that serve as the input for this action are specified using one or more of the keywords in the following table.
| Keyword | Type | Description |
|---|---|---|
| ARG | scalar | the biases that must be taken into account when reweighting |
Full list of keywords
The following table describes the keywords and options that can be used with this action
| Keyword | Type | Default | Description |
|---|---|---|---|
| ARG | input | none | the biases that must be taken into account when reweighting |
| TEMP | optional | not used | the system temperature |
References
More information about how this action can be used is available in the following articles: