Shortcut: SPRINT
| Module | sprint |
|---|---|
| Description | Usage |
| Calculate SPRINT topological variables from an adjacency matrix. |
Details and examples
Calculate SPRINT topological variables from an adjacency matrix.
The SPRINT topological variables are calculated from the largest eigenvalue, of an adjacency matrix and its corresponding eigenvector, , using:
The example input below calculates the 7 SPRINT coordinates for a 7 atom cluster of Lennard-Jones atoms and prints their values to a file.
ss: SPRINTCalculate SPRINT topological variables from an adjacency matrix. This action is a shortcut. More details GROUPspecifies the list of atoms that should be assumed indistinguishable=1-7 SWITCHspecify the switching function to use between two sets of indistinguishable atoms={RATIONAL R_0=0.1} PRINTPrint quantities to a file. More details ARGthe labels of the values that you would like to print to the file=ss.* FILEthe name of the file on which to output these quantities=colvar
This example input calculates the 14 SPRINT coordinates for a molecule composed of 7 hydrogen and 7 carbon atoms.
ss: SPRINTCalculate SPRINT topological variables from an adjacency matrix. This action is a shortcut. More details ... GROUP1specifies the list of atoms that should be assumed indistinguishable=1-7 GROUP2specifies the list of atoms that should be assumed indistinguishable=8-14 SWITCH11specify the switching function to use between two sets of indistinguishable atoms={RATIONAL R_0=2.6 NN=6 MM=12} SWITCH12specify the switching function to use between two sets of indistinguishable atoms={RATIONAL R_0=2.2 NN=6 MM=12} SWITCH22specify the switching function to use between two sets of indistinguishable atoms={RATIONAL R_0=2.2 NN=6 MM=12} ...
PRINTPrint quantities to a file. More details ARGthe labels of the values that you would like to print to the file=ss.* FILEthe name of the file on which to output these quantities=colvar
If you explore the inputs above you can see that when PLUMED reads them it creates a more complicated input file for calculating the SPRINT CVs. You can get a sense of how these CVs are calculated by looking at the expanded versions of the shortcuts in the inputs above. The insight into these methods that you can obtain by looking at these expanded input should hopefully give you ideas for developing new versions of these methods that use the same body of theory. For example, if you look at the inputs above you can see that one or more CONTACT_MATRIX actions are used to calculate sprint. These CONTACT_MATRIX determine whether atoms are adjacent or not. However, you can use different quantities to measure whether or not two given atoms/molecules are adjacent or not and compute a different type of adjacency matrix. For example you can say that two molecules are adjacent if they are within a certain distance of each other and if they have similar orientations or you can argue that two molecules are adjacent if there is a hydrogen bond between them.
In the example input below we measure adjacency between atoms using a BRIDGE_MATRIX and then compute the SPRINT CVs by diagonalizing this matrix.
b: BRIDGE_MATRIXCalculate the number of atoms that bridge two parts of a structure This action has hidden defaults. More details GROUPthe atoms for which you would like to calculate the adjacency matrix=1-7 BRIDGING_ATOMSThe list of atoms that can form the bridge between the two interesting parts of the structure=8-100 SWITCHThe parameters of the two switching functions in the above formula. Options for this keyword are explained in the documentation for LESS_THAN.={RATIONAL R_0=0.2} s: SPRINTCalculate SPRINT topological variables from an adjacency matrix. This action is a shortcut. More details MATRIXthe matrix that you would like to perform SPRINT on=b PRINTPrint quantities to a file. More details ARGthe labels of the values that you would like to print to the file=s.* FILEthe name of the file on which to output these quantities=colvar
Full list of keywords
The following table describes the keywords and options that can be used with this action
| Keyword | Type | Default | Description |
|---|---|---|---|
| MATRIX | optional | not used | the matrix that you would like to perform SPRINT on |
| GROUP | optional | not used | specifies the list of atoms that should be assumed indistinguishable |
| SWITCH | optional | not used | specify the switching function to use between two sets of indistinguishable atoms |
References
More information about how this action can be used is available in the following articles: