Shortcut: BOPS
| Module | crystdistrib |
|---|---|
| Description | Usage |
| Calculate Bond orientational order parameters for molecules. | |
| output value | type |
| the values of the bops order parameters | vector |
Details and examples
Calculate Bond orientational order parameters for molecules.
BOPS is a shortcut to calculate the Bond-orientational Order Parameters detailed that are described in the paper cited below. As arguments, BOPS takes a list of atoms (corresponding to molecules), a vector of quaternions, a cutoff distance, and two kernel files detailing the means, variances, and normalization factors of probability distributions. BOPS returns a vector of order parameters.
The DOPS kernel file has FIELDS height, mu, and sigma corresponding to the normalization factor, mean, and variance of the gaussian distributions used in the order parameters. The SET kerneltype is gaussian.
The BOPS kernel file has FIELDS height, kappa, mu_i, mu_j, and mu_k, which correspond to the normalization factor, reciprocal variance, and imaginary components of the mean quaternion frame of the fisher distribution used in the order parameters. The SET kerneltype is gaussian.
BOPS returns one order parameter per atom given, evaluated over each atom's neighbors within the cutoff given. The distribution defined by the kernel files, analogous to a radial distribution function, is defined over all possible unit vectors which could be drawn between two atoms. The order parameter is obtained by evaluating the distribution at each unit vector pointing to all neighbors within the cutoff, and summing them up.
This example file calculates the BOPS for a system of 3 molecules.
#SETTINGS INPUTFILES=regtest/crystdistrib/rt-bops-shortcut/kernels.dat,regtest/crystdistrib/rt-bops-shortcut/kernels2.dat quat: QUATERNIONCalculate unit quaternions for molecules. More details ATOMS1the three atom that we are using to calculate the quaternion=1,2,3 ATOMS2the three atom that we are using to calculate the quaternion=4,5,6 ATOMS3the three atom that we are using to calculate the quaternion=7,8,9 bops: BOPSCalculate Bond orientational order parameters for molecules. This action is a shortcut. More details ... SPECIESthe list of atoms for which the BOPS are being calculated and the atoms that can be in the environments=1,4,7 QUATERNIONSthe label of the action that computes the quaternions that should be used=quat CUTOFFcutoff for the distance matrix=100.0 KERNELFILE_DOPSthe file containing the list of kernel parameters=regtest/crystdistrib/rt-bops-shortcut/kernels.datClick here to see an extract from this file.KERNELFILE_BOPSthe second file containing the list of kernel parameters=regtest/crystdistrib/rt-bops-shortcut/kernels2.datClick here to see an extract from this file....
To calculate the BOPS between the orientation of the molecules in GROUPA and the bonds to the atoms in GROUPB you use an input like the one shown below:
#SETTINGS INPUTFILES=regtest/crystdistrib/rt-bops-shortcut/kernels.dat,regtest/crystdistrib/rt-bops-shortcut/kernels2.dat quat: QUATERNIONCalculate unit quaternions for molecules. More details ATOMS1the three atom that we are using to calculate the quaternion=1,2,3 ATOMS2the three atom that we are using to calculate the quaternion=4,5,6 ATOMS3the three atom that we are using to calculate the quaternion=7,8,9 bops: BOPSCalculate Bond orientational order parameters for molecules. This action is a shortcut. More details ... QUATERNIONSthe label of the action that computes the quaternions that should be used=quat CUTOFFcutoff for the distance matrix=100.0 SPECIESAthe list of atoms for which BOPS are being calculated=1,4,7 SPECIESBthe list of atoms that can be in the environments of each of the atoms for which the BOPS are being calculated=10,11,12,13,14 KERNELFILE_DOPSthe file containing the list of kernel parameters=regtest/crystdistrib/rt-bops-shortcut/kernels.datClick here to see an extract from this file.KERNELFILE_BOPSthe second file containing the list of kernel parameters=regtest/crystdistrib/rt-bops-shortcut/kernels2.datClick here to see an extract from this file....
Input
The atoms that serve as the input for this action are specified using one or more of the keywords in the following table.
| Keyword | Type | Description |
|---|---|---|
| SPECIES | atoms | the list of atoms for which the BOPS are being calculated and the atoms that can be in the environments |
| SPECIESA | atoms | the list of atoms for which BOPS are being calculated |
| SPECIESB | atoms | the list of atoms that can be in the environments of each of the atoms for which the BOPS are being calculated |
Full list of keywords
The following table describes the keywords and options that can be used with this action
| Keyword | Type | Default | Description |
|---|---|---|---|
| SPECIES | input | none | the list of atoms for which the BOPS are being calculated and the atoms that can be in the environments |
| SPECIESA | input | none | the list of atoms for which BOPS are being calculated |
| SPECIESB | input | none | the list of atoms that can be in the environments of each of the atoms for which the BOPS are being calculated |
| QUATERNIONS | compulsory | none | the label of the action that computes the quaternions that should be used |
| KERNELFILE_DOPS | compulsory | none | the file containing the list of kernel parameters |
| KERNELFILE_BOPS | compulsory | none | the second file containing the list of kernel parameters |
| CUTOFF | compulsory | none | cutoff for the distance matrix |
References
More information about how this action can be used is available in the following articles: