This is part of the isdb module |
Selects an argument based on the value of a SELECTOR.
You should read the documentation for SELECTOR to understand this action better.
In this example we use a simulated-tempering like approach activated by the RESCALE action. For each value of the scale parameter, we perform an independent Parallel Bias Metadynamics simulation (see PBMETAD). At each moment of the simulation, only one of the PBMETAD actions is activated, based on the current value of the associated SELECTOR. The SELECT action can then be used to print out the value of the (active) PBMETAD bias potential.
ene: ENERGY d: DISTANCEATOMS=1,2 SELECTORthe pair of atom that we are calculating the distance between.NAME=GAMMAcompulsory keyword name of the SELECTORVALUE=0 pbmetad0: PBMETADcompulsory keyword set (initial) value of the SELECTORARG=dcompulsory keyword the labels of the scalars on which the bias will actSELECTOR=GAMMAadd forces and do update based on the value of SELECTORSELECTOR_ID=0value of SELECTORSIGMA=0.1compulsory keyword the widths of the Gaussian hillsPACE=500compulsory keyword the frequency for hill addition, one for all biasesHEIGHT=1the height of the Gaussian hills, one for all biases.BIASFACTOR=8use well tempered metadynamics with this bias factor, one for all biases.FILE=HILLS.0 pbmetad1: PBMETADfiles in which the lists of added hills are stored, default names are assigned using arguments if FILE is not foundARG=dcompulsory keyword the labels of the scalars on which the bias will actSELECTOR=GAMMAadd forces and do update based on the value of SELECTORSELECTOR_ID=1value of SELECTORSIGMA=0.1compulsory keyword the widths of the Gaussian hillsPACE=500compulsory keyword the frequency for hill addition, one for all biasesHEIGHT=1the height of the Gaussian hills, one for all biases.BIASFACTOR=8use well tempered metadynamics with this bias factor, one for all biases.FILE=HILLS.1 res: RESCALE ...files in which the lists of added hills are stored, default names are assigned using arguments if FILE is not foundARG=ene,pbmetad0.bias,pbmetad1.biascompulsory keyword the labels of the scalars on which the bias will actTEMP=300compulsory keyword temperatureSELECTOR=GAMMAcompulsory keyword name of the SELECTOR used for rescalingMAX_RESCALE=1.2compulsory keyword maximum values for rescalingNOT_RESCALED=2these last N arguments will not be scaledNBIN=2compulsory keyword number of bins for gamma gridW0=1000could not find this keywordBIASFACTOR=100.0compulsory keyword bias factorBSTRIDE=2000compulsory keyword stride for writing biasBFILE=bias.dat ... pbactive: SELECTcompulsory keyword file name for biasARG=pbmetad0.bias,pbmetad1.biascompulsory keyword the labels of the values from which the function is calculatedSELECTOR=GAMMA PRINTcompulsory keyword name of the variable used to selectARG=pbactivecompulsory keyword the labels of the values that you would like to print to the fileSTRIDE=100compulsory keyword ( default=1 ) the frequency with which the quantities of interest should be outputFILE=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 | the value of the selected argument |
ARG | the labels of the values from which the function is calculated |
SELECTOR | name of the variable used to select |
NUMERICAL_DERIVATIVES | ( default=off ) calculate the derivatives for these quantities numerically |