Module |
bias |
Description |
Usage |
Defines a wall for the value of one or more collective variables, |
  |
Output components
This action calculates the values in the following table. These values can be referenced elsewhere in the input by using this Action's label followed by a dot and the name of the value required from the list below.
Name |
Type |
Description |
bias |
scalar |
the instantaneous value of the bias potential |
force2 |
scalar |
the instantaneous value of the squared force due to this bias potential |
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/vector |
the arguments on which the bias is acting |
Further details and examples
Defines a wall for the value of one or more collective variables,
which limits the region of the phase space accessible during the simulation.
If the inputs to the arguments are scalars the restraining potential starts acting on the system when the value of the CV is
lower than a certain limit (AT) minus an offset (OFFSET). The expression for the bias due to the wall is given by:
In this expression (KAPPA) is an energy constant in internal unit of the code, (EPS) a rescaling factor and
(EXP) the exponent determining the power law. By default: EXP = 2, EPS = 1.0, OFFSET = 0.
The following input tells plumed to add both a lower and an upper walls on the distance
between atoms 3 and 5 and the distance between atoms 2 and 4. The lower and upper limits
are defined at different values. The strength of the walls is the same for the four cases.
It also tells plumed to print the energy of the walls.
Click on the labels of the actions for more information on what each action computes
d1The DISTANCE action with label d1 calculates the following quantities: Quantity | Type | Description |
d1 | scalar | the DISTANCE between this pair of atoms |
: DISTANCECalculate the distance/s between pairs of atoms. More details ATOMSthe pair of atom that we are calculating the distance between=3,5
d2The DISTANCE action with label d2 calculates the following quantities: Quantity | Type | Description |
d2 | scalar | the DISTANCE between this pair of atoms |
: DISTANCECalculate the distance/s between pairs of atoms. More details ATOMSthe pair of atom that we are calculating the distance between=2,4
uwallThe UPPER_WALLS action with label uwall calculates the following quantities: Quantity | Type | Description |
uwall.bias | scalar | the instantaneous value of the bias potential |
uwall.force2 | scalar | the instantaneous value of the squared force due to this bias potential |
: UPPER_WALLSDefines a wall for the value of one or more collective variables, More details ARGthe arguments on which the bias is acting=d1,d2 ATthe positions of the wall=1.0,1.5 KAPPAthe force constant for the wall=150.0,150.0 EXP the powers for the walls=2,2 EPS the values for s_i in the expression for a wall=1,1 OFFSET the offset for the start of the wall=0,0
lwallThe LOWER_WALLS action with label lwall calculates the following quantities: Quantity | Type | Description |
lwall.bias | scalar | the instantaneous value of the bias potential |
lwall.force2 | scalar | the instantaneous value of the squared force due to this bias potential |
: LOWER_WALLSDefines a wall for the value of one or more collective variables, More details ARGthe arguments on which the bias is acting=d1,d2 ATthe positions of the wall=0.0,1.0 KAPPAthe force constant for the wall=150.0,150.0 EXP the powers for the walls=2,2 EPS the values for s_i in the expression for a wall=1,1 OFFSET the offset for the start of the wall=0,0
PRINTPrint quantities to a file. More details ARGthe labels of the values that you would like to print to the file=uwall.bias,lwall.bias
Alternatively, if the input to this action is a vector as in the example shown below:
Click on the labels of the actions for more information on what each action computes
d1The DISTANCE action with label d1 calculates the following quantities: Quantity | Type | Description |
d1 | vector | the DISTANCE for each set of specified atoms |
: DISTANCECalculate the distance/s between pairs of atoms. More details ATOMS1the pair of atom that we are calculating the distance between=1,2 ATOMS2the pair of atom that we are calculating the distance between=3,4 ATOMS3the pair of atom that we are calculating the distance between=5,6
lwallThe LOWER_WALLS action with label lwall calculates the following quantities: Quantity | Type | Description |
lwall_bias | scalar | the instantaneous value of the bias potential |
lwall_force2 | scalar | the instantaneous value of the squared force due to this bias potential |
: LOWER_WALLSDefines a wall for the value of one or more collective variables, This action is a shortcut. More details ARGthe arguments on which the bias is acting=d1 ATthe positions of the wall=1.0 KAPPAthe force constant for the wall=150.0 EXP the powers for the walls=2 EPS the values for s_i in the expression for a wall=1 OFFSET the offset for the start of the wall=0
# lwall: LOWER_WALLS ARG=d1 AT=1.0 KAPPA=150.0 EXP=2 EPS=1 OFFSET=0
The LOWER_WALLS action with label lwall calculates the following quantities: Quantity | Description |
lwall.bias | the instantaneous value of the bias potential |
lwall.force2 | the instantaneous value of the squared force due to this bias potential |
lwall_cv_d1The COMBINE action with label lwall_cv_d1 calculates the following quantities: Quantity | Type | Description |
lwall_cv_d1 | vector | the vector obtained by doing an element-wise application of a linear compbination to the input vectors |
: COMBINECalculate a polynomial combination of a set of other variables. More details PERIODICif the output of your function is periodic then you should specify the periodicity of the function=NO ARGthe values input to this function=d1 PARAMETERS the parameters of the arguments in your function=1.0
lwall_scale_d1The CUSTOM action with label lwall_scale_d1 calculates the following quantities: Quantity | Type | Description |
lwall_scale_d1 | vector | the vector obtained by doing an element-wise application of an arbitrary function to the input vectors |
: CUSTOMCalculate a combination of variables using a custom expression. More details PERIODICif the output of your function is periodic then you should specify the periodicity of the function=NO FUNCthe function you wish to evaluate=(x-0)/1 ARGthe values input to this function=lwall_cv_d1
lwall_pow_d1The CUSTOM action with label lwall_pow_d1 calculates the following quantities: Quantity | Type | Description |
lwall_pow_d1 | vector | the vector obtained by doing an element-wise application of an arbitrary function to the input vectors |
: CUSTOMCalculate a combination of variables using a custom expression. More details PERIODICif the output of your function is periodic then you should specify the periodicity of the function=NO FUNCthe function you wish to evaluate=step(-x)*(-x)^2 ARGthe values input to this function=lwall_scale_d1
lwall_v_wall_d1The CUSTOM action with label lwall_v_wall_d1 calculates the following quantities: Quantity | Type | Description |
lwall_v_wall_d1 | vector | the vector obtained by doing an element-wise application of an arbitrary function to the input vectors |
: CUSTOMCalculate a combination of variables using a custom expression. More details PERIODICif the output of your function is periodic then you should specify the periodicity of the function=NO FUNCthe function you wish to evaluate=150.0*x ARGthe values input to this function=lwall_pow_d1
lwall_wall_d1The SUM action with label lwall_wall_d1 calculates the following quantities: Quantity | Type | Description |
lwall_wall_d1 | scalar | the sum of all the elements in the input vector |
: SUMCalculate the sum of the arguments More details ARGthe values input to this function=lwall_v_wall_d1 PERIODICif the output of your function is periodic then you should specify the periodicity of the function=NO
lwall_force_d1The CUSTOM action with label lwall_force_d1 calculates the following quantities: Quantity | Type | Description |
lwall_force_d1 | vector | the vector obtained by doing an element-wise application of an arbitrary function to the input vectors |
: CUSTOMCalculate a combination of variables using a custom expression. More details PERIODICif the output of your function is periodic then you should specify the periodicity of the function=NO FUNCthe function you wish to evaluate=150.0*2*x/(y*1) ARGthe values input to this function=lwall_pow_d1,lwall_scale_d1
lwall_v_force2_d1The CUSTOM action with label lwall_v_force2_d1 calculates the following quantities: Quantity | Type | Description |
lwall_v_force2_d1 | vector | the vector obtained by doing an element-wise application of an arbitrary function to the input vectors |
: CUSTOMCalculate a combination of variables using a custom expression. More details PERIODICif the output of your function is periodic then you should specify the periodicity of the function=NO FUNCthe function you wish to evaluate=x*x ARGthe values input to this function=lwall_force_d1
lwall_force2_d1The SUM action with label lwall_force2_d1 calculates the following quantities: Quantity | Type | Description |
lwall_force2_d1 | scalar | the sum of all the elements in the input vector |
: SUMCalculate the sum of the arguments More details ARGthe values input to this function=lwall_v_force2_d1 PERIODICif the output of your function is periodic then you should specify the periodicity of the function=NO
lwall_biasThe COMBINE action with label lwall_bias calculates the following quantities: Quantity | Type | Description |
lwall_bias | scalar | a linear compbination |
: COMBINECalculate a polynomial combination of a set of other variables. More details PERIODICif the output of your function is periodic then you should specify the periodicity of the function=NO ARGthe values input to this function=lwall_wall_d1
BIASVALUETakes the value of one variable and use it as a bias More details ARGthe labels of the scalar/vector arguments whose values will be used as a bias on the system=lwall_bias
The BIASVALUE action with label calculates the following quantities: Quantity | Description |
.bias | the instantaneous value of the bias potential |
._bias | one or multiple instances of this quantity can be referenced elsewhere in the input file |
lwall_force2The COMBINE action with label lwall_force2 calculates the following quantities: Quantity | Type | Description |
lwall_force2 | scalar | a linear compbination |
: COMBINECalculate a polynomial combination of a set of other variables. More details PERIODICif the output of your function is periodic then you should specify the periodicity of the function=NO ARGthe values input to this function=lwall_force2_d1
# --- End of included input --- PRINTPrint quantities to a file. More details ARGthe labels of the values that you would like to print to the file=lwall.bias
The bias that acts is given by the following expression:
The sum over here is runs over the two arguments, while the sum over runs over the three components of the input vectors.
Notice, that regardless of whether the input is a scalar, vector or matrix the number of , , , and values must be
equal to the number of arguments to the action.
Syntax
The following table describes the keywords and options that can be used with this action
Keyword |
Type |
Default |
Description |
ARG |
input |
none |
the arguments on which the bias is acting |
AT |
compulsory |
none |
the positions of the wall |
KAPPA |
compulsory |
none |
the force constant for the wall |
OFFSET |
compulsory |
0.0 |
the offset for the start of the wall |
EXP |
compulsory |
2.0 |
the powers for the walls |
EPS |
compulsory |
1.0 |
the values for s_i in the expression for a wall |