Skip to content

Shortcut: ROPS

Module crystdistrib
Description Usage
Calculate the ROPS order parameter used in 0 tutorialsused in 0 eggs
output value type
the values of the ROPS order parameters vector

Details and examples

Calculate the ROPS order parameter

ROPS is a shortcut to calculate the Relative-Orientational Order Parameters that are described in the paper that is referenced below. As arguments, ROPS 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 the probability distributions. ROPS 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 ROPS kernel file has FIELDS height, kappa, mu_w, mu_i, mu_j, and mu_k, which correspond to the normalization factor, reciprocal variance, and components of the mean quaternion frame of the Bipolar Watson distribution used in the order parameters. The SET kerneltype is gaussian.

ROPS returns one order parameter per atom given, evaluated over each atom's neighbors within the cutoff. The distribution defined by the kernel files, analogous to a radial distribution function, defined over all possible spatial orientations two molecules could take relative to one another. The domain is the set of all unit quaternions. The order parameter is obtained by evaluating the distribution at each neighbor's unit quaternion, and summing them.

This example file calculates the ROPS for a system of 3 molecules.

Click on the labels of the actions for more information on what each action computes
tested on2.11
#SETTINGS INPUTFILES=regtest/crystdistrib/rt-rops-shortcut/kernels.dat,regtest/crystdistrib/rt-rops-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: ROPSCalculate the ROPS order parameter This action is a shortcut. More details ...
   SPECIESthe list of atoms for which the ROPS 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-rops-shortcut/kernels.dat
Click here to see an extract from this file.
×

FILE: regtest/crystdistrib/rt-rops-shortcut/kernels.dat

#! FIELDS height mu sigma
#! SET kerneltype gaussian
2.26628554234 6.37235632777 0.17603354605920524374
2.26598891932 6.37243472055 0.17605658924421270294
2.83246817245 6.94118069019 0.14084616529226330342
2.23141032403 6.87945090447 0.178784814297  
2.26563347801 6.81645001966 0.17608420968
2.26829869206 6.37245683771 0.1758773136
2.26856314184 6.37237895273 0.175856811319
2.84313122015 6.94216988399 0.140317927493
2.21827805142 6.87753705648 0.17984322576
2.27474509536 6.81810643390 0.175378894635

KERNELFILE_ROPSthe file containing the list of kernel parameters=
regtest/crystdistrib/rt-rops-shortcut/kernels2.dat
Click here to see an extract from this file.
×

FILE: regtest/crystdistrib/rt-rops-shortcut/kernels2.dat

#! FIELDS height kappa mu_w mu_i mu_j mu_k
#! SET kerneltype gaussian
 2.81566426485e-24  60.9517091737  0.999999935213 0.000323260605362 -3.54954971419e-05 0.000154325371938
 2.74313783032e-24  60.9784690136  -0.999999975104 -9.33618007376e-07 -0.000174903361291 0.000138561169562 
 0.0130950591427  7.87597632012  -0.00314335246277 0.331888328739 -0.504016340713 0.797375560746 
 0.0107350493097 8.12722630497  -0.0032553078902 0.272414440723 -0.417230695312 0.867005376192 
 0.0775451781009  5.47161569795  0.00999289453389 0.0115376130044 -0.00353037871082 0.999877273455
 8.41766101819e-25  62.1895764963 -0.999999978371 -6.76320959659e-05 0.000135881297839 0.000142199691495
 8.90283264343e-25  62.1321413047 0.999999916445 -0.000387459116169 6.61150331893e-06 0.000130162625944
 0.0133120880032 7.85508401972 -0.0033041458338 -0.332424752605 0.504900401912 0.796591771628 
 0.0099761880464 8.2193276117  -0.00312375550685 -0.271447650829 0.41694219092 0.867447764676 
 0.0794224100073  5.43643088621 0.0107636888243 -0.0116508635888 0.0021743879902 0.999871827995  






...

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 ROPS are being calculated and the atoms that can be in the environments

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 ROPS are being calculated and the atoms that can be in the environments
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_ROPS compulsory none the 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: