This is part of the isdb module |
Selects an argument based on the value of a SELECTOR.
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=dthe input for this action is the scalar output from one or more other actions.SELECTOR=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=dthe input for this action is the scalar output from one or more other actions.SELECTOR=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.biasthe input for this action is the scalar output from one or more other actions.TEMP=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.biasthe input for this action is the scalar output from one or more other actions.SELECTOR=GAMMA PRINTcompulsory keyword name of the variable used to selectARG=pbactivethe input for this action is the scalar output from one or more other actions.STRIDE=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
SELECTOR | name of the variable used to select |
NUMERICAL_DERIVATIVES | ( default=off ) calculate the derivatives for these quantities numerically |
ARG | the input for this action is the scalar output from one or more other actions. The particular scalars that you will use are referenced using the label of the action. If the label appears on its own then it is assumed that the Action calculates a single scalar value. The value of this scalar is thus used as the input to this new action. If * or *.* appears the scalars calculated by all the proceeding actions in the input file are taken. Some actions have multi-component outputs and each component of the output has a specific label. For example a DISTANCE action labelled dist may have three components x, y and z. To take just the x component you should use dist.x, if you wish to take all three components then use dist.*.More information on the referencing of Actions can be found in the section of the manual on the PLUMED Getting Started. Scalar values can also be referenced using POSIX regular expressions as detailed in the section on Regular Expressions. To use this feature you you must compile PLUMED with the appropriate flag. You can use multiple instances of this keyword i.e. ARG1, ARG2, ARG3... |