This is part of the bias module

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 [105] when constructing a histogram of the configurations visited during a metadynamics simulation.


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, \(a\), 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 c(t) reweighting factor and the grid over which we calculate c(t) in the input to the METAD command.

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

Glossary of keywords and components
Description of components

This action calculates the logarithm of a weight for reweighting

Quantity Description
.#!value the weight to use for this frame to negate the effect the metadynamics bias
Compulsory keywords
ARG ( default=*.rbias ) the biases that must be taken into account when reweighting
TEMP the system temperature. This is not required if your MD code passes this quantity to PLUMED