It is only available if you configure PLUMED with ./configure –enable-modules=sprint . Furthermore, this feature is still being developed so take care when using it and report any problems on the mailing list.
Calculate SPRINT topological variables from an adjacency matrix.
The SPRINT topological variables are calculated from the largest eigenvalue, \(\lambda\) of an \(n\times n\) adjacency matrix and its corresponding eigenvector, \(\mathbf{V}\), using:
\[ s_i = \sqrt{n} \lambda v_i \]
You can use different quantities to measure whether or not two given atoms/molecules are adjacent or not in the adjacency matrix. The simplest measure of adjacency is is whether two atoms/molecules are within some cutoff of each other. Further complexity can be added by insisting that two molecules are adjacent if they are within a certain distance of each other and if they have similar orientations.
Examples
This example input calculates the 7 SPRINT coordinates for a 7 atom cluster of Lennard-Jones atoms and prints their values to a file. In this input the SPRINT coordinates are calculated in the manner described in ?? so two atoms are adjacent if they are within a cutoff:
Click on the labels of the actions for more information on what each action computes
=1-7 You cannot view the components that are calculated by each action for this input file. Sorry mat: CONTACT_MATRIX
ATOMS
the atoms for which you would like to calculate the adjacency matrix.
=d1
SWITCH
specify the switching function to use between two sets of indistinguishable atoms.
={RATIONAL R_0=0.1} You cannot view the components that are calculated by each action for this input file. Sorry ss: SPRINT
MATRIX
the matrix that you would like to perform SPRINT on
=mat You cannot view the components that are calculated by each action for this input file. Sorry PRINT
ARG
compulsory keyword
the labels of the values that you would like to print to the file
=ss.*
FILE
the name of the file on which to output these quantities
=colvar You cannot view the components that are calculated by each action for this input file. Sorry
This example input calculates the 14 SPRINT coordinates for a molecule composed of 7 hydrogen and 7 carbon atoms. Once again two atoms are adjacent if they are within a cutoff:
Click on the labels of the actions for more information on what each action computes
compulsory keyword
the values input to this function
=ss2.1
PERIODIC
compulsory keyword
if the output of your function is periodic then you should specify the periodicity
of the function.
=NO The COMBINE action with label ss_coord-7 calculates a single scalar valuess_coord-8: COMBINE
ARG
compulsory keyword
the values input to this function
=ss2.2
PERIODIC
compulsory keyword
if the output of your function is periodic then you should specify the periodicity
of the function.
=NO The COMBINE action with label ss_coord-8 calculates a single scalar valuess_coord-9: COMBINE
ARG
compulsory keyword
the values input to this function
=ss2.3
PERIODIC
compulsory keyword
if the output of your function is periodic then you should specify the periodicity
of the function.
=NO The COMBINE action with label ss_coord-9 calculates a single scalar valuess_coord-10: COMBINE
ARG
compulsory keyword
the values input to this function
=ss2.4
PERIODIC
compulsory keyword
if the output of your function is periodic then you should specify the periodicity
of the function.
=NO The COMBINE action with label ss_coord-10 calculates a single scalar valuess_coord-11: COMBINE
ARG
compulsory keyword
the values input to this function
=ss2.5
PERIODIC
compulsory keyword
if the output of your function is periodic then you should specify the periodicity
of the function.
=NO The COMBINE action with label ss_coord-11 calculates a single scalar valuess_coord-12: COMBINE
ARG
compulsory keyword
the values input to this function
=ss2.6
PERIODIC
compulsory keyword
if the output of your function is periodic then you should specify the periodicity
of the function.
=NO The COMBINE action with label ss_coord-12 calculates a single scalar valuess_coord-13: COMBINE
ARG
compulsory keyword
the values input to this function
=ss2.7
PERIODIC
compulsory keyword
if the output of your function is periodic then you should specify the periodicity
of the function.
=NO The COMBINE action with label ss_coord-13 calculates a single scalar valuePRINT
ARG
compulsory keyword
the labels of the values that you would like to print to the file
=ss.*
FILE
the name of the file on which to output these quantities
=colvar The PRINT action with label
Glossary of keywords and components
Description of components
By default this Action calculates the following quantities. 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
coord
the sprint coordinates
Options
MATRIX
the matrix that you would like to perform SPRINT on
GROUP
specifies the list of atoms that should be assumed indistinguishable. You can use multiple instances of this keyword i.e. GROUP1, GROUP2, GROUP3...
SWITCH
specify the switching function to use between two sets of indistinguishable atoms. You can use multiple instances of this keyword i.e. SWITCH1, SWITCH2, SWITCH3...