Shortcut: EXTRACV
Module | colvar |
---|---|
Description | Usage |
Allow PLUMED to use collective variables computed in the MD engine. | |
output value | type |
the value of the CV that was passed from the MD code to PLUMED | scalar |
Further details and examples
Allow PLUMED to use collective variables computed in the MD engine.
This feature requires the MD engine to use special instructions to pass to PLUMED the value of some pre-computed collective variable. Check the documentation for the MD code to find out which collective variables can be computed and passed to PLUMED. These variables can then be accessed by name using the EXTRACV action.
This example takes the lambda variable pre-computed in GROMACS and applies a restraint to keep it close to the value 3.
lEXTRACVAllow PLUMED to use collective variables computed in the MD engine. This action is a shortcut. More details NAMEname of the CV as computed by the MD engine=lambda : RESTRAINTAdds harmonic and/or linear restraints on one or more variables. More details ARGthe values the harmonic restraint acts upon=l KAPPA specifies that the restraint is harmonic and what the values of the force constants on each of the variables are=10 ATthe position of the restraint=3
Syntax
The following table describes the keywords and options that can be used with this action
Keyword | Type | Default | Description |
---|---|---|---|
NAME | compulsory | none | name of the CV as computed by the MD engine |