Shortcut: OUTPUT_CLUSTER
Module | clusters |
---|---|
Description | Usage |
Output the indices of the atoms in one of the clusters identified by a clustering object |
Further details and examples
Output the indices of the atoms in one of the clusters identified by a clustering object
This action provides one way of getting output from a DFSCLUSTERING calculation. The output in question here is a gromacs ndx file that contains a list of the atom indices that form part of one of the clusters that was identified using DFSCLUSTERING
The input shown below constructs a CONTACT_MATRIX that describes the connectivity between the atoms. The DFS algorithm is then used to find the connected components in this matrix. The indices of the atoms in the largest connected component are then output to a ndx file.
matCONTACT_MATRIXAdjacency matrix in which two atoms are adjacent if they are within a certain cutoff. More details ATOMSthe atoms for which you would like to calculate the adjacency matrix=1-1996 SWITCHthe input for the switching function that acts upon the distance between each pair of atoms. Options for this keyword are explained in the documentation for LESS_THAN.={CUBIC D_0=0.34 D_MAX=0.38} dfs : DFSCLUSTERINGFind the connected components of the matrix using the depth first search clustering algorithm. More details ARGthe input matrix=mat OUTPUT_CLUSTEROutput the indices of the atoms in one of the clusters identified by a clustering object More details ATOMSthe atoms for which clustering were performed=1-1996 CLUSTERSthe action that performed the clustering=dfs CLUSTER which cluster would you like to look at 1 is the largest cluster, 2 is the second largest, 3 is the the third largest and so on=1 FILEthe name of the file on which to output the details of the cluster=dfs.ndx:
References
More information about how this action can be used is available in the following articles: - G. A. Tribello, F. Giberti, G. C. Sosso, M. Salvalaglio, M. Parrinello, Analyzing and Driving Cluster Formation in Atomistic Simulations. Journal of Chemical Theory and Computation. 13, 1317–1327 (2017)
Syntax
The following table describes the keywords and options that can be used with this action
Keyword | Type | Default | Description |
---|---|---|---|
ATOMS | compulsory | none | the atoms for which clustering were performed |
CLUSTERS | compulsory | none | the action that performed the clustering |
CLUSTER | compulsory | 1 | which cluster would you like to look at 1 is the largest cluster, 2 is the second largest, 3 is the the third largest and so on |
STRIDE | compulsory | 1 | the frequency with which you would like to output the atoms in the cluster |
FILE | compulsory | none | the name of the file on which to output the details of the cluster |