Skip to content

Shortcut: DOPS

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

Details and examples

Calculate DOPS order parameter for molecules.

DOPS is a shortcut to calculate the Distance Order Parameters that are described in the paper below. As arguments, DOPS takes a list of atoms, a cutoff, and a kernel file detailing the means, variances, and normalization factors of probability distributions. DOPS 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.

DOPS returns one order parameter per atom given, evaluated over each atom's neighbors within the cutoff given. The kernel file defines a radial distribution function. The order parameter is obtained by evaluating the RDF at each neighbor's position within the cutoff, and summing them up.

This example file calculates the DOPS 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-dops-forces/kernels.dat
dops: DOPSCalculate DOPS order parameter for molecules. This action is a shortcut. More details SPECIESthe list of atoms for which the DOPS are being calculated and the atoms that can be in the environments=1,4,7 CUTOFF to make the calculation faster we calculate a cutoff value on the distances=7.4 KERNELFILEthe file containing the list of kernel parameters=
regtest/crystdistrib/rt-dops-forces/kernels.dat
Click here to see an extract from this file.
×

FILE: regtest/crystdistrib/rt-dops-forces/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.17878481429679151024
2.26563347801 6.81645001966 0.17608420968034740280
2.26829869206 6.37245683771 0.17587731359970688385
2.26856314184 6.37237895273 0.17585681131941429581
2.84313122015 6.94216988399 0.14031792749263861615
2.21827805142 6.87753705648 0.17984322576025361650
2.27474509536 6.8181064339  0.17537889463529058575

If you want to calculate DOPS from the radial distribution function of the GROUPB atoms around the GROUPA atoms you use an input like the one shown below:

Click on the labels of the actions for more information on what each action computes
tested on2.11
#SETTINGS INPUTFILES=regtest/crystdistrib/rt-dops-forces/kernels.dat
dops: DOPSCalculate DOPS order parameter for molecules. This action is a shortcut. More details ...
  SPECIESAthe list of atoms for which DOPS are being calculated=1,4,7 SPECIESBthe list of atoms that can be in the environments of each of the atoms for which the DOPS are being calculated=10,13,16,19 CUTOFF to make the calculation faster we calculate a cutoff value on the distances=7.4
  KERNELFILEthe file containing the list of kernel parameters=
regtest/crystdistrib/rt-dops-forces/kernels.dat
Click here to see an extract from this file.
×

FILE: regtest/crystdistrib/rt-dops-forces/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.17878481429679151024
2.26563347801 6.81645001966 0.17608420968034740280
2.26829869206 6.37245683771 0.17587731359970688385
2.26856314184 6.37237895273 0.17585681131941429581
2.84313122015 6.94216988399 0.14031792749263861615
2.21827805142 6.87753705648 0.17984322576025361650
2.27474509536 6.8181064339  0.17537889463529058575
...

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 DOPS are being calculated and the atoms that can be in the environments
SPECIESA atoms the list of atoms for which DOPS are being calculated
SPECIESB atoms the list of atoms that can be in the environments of each of the atoms for which the DOPS 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 DOPS are being calculated and the atoms that can be in the environments
SPECIESA input none the list of atoms for which DOPS are being calculated
SPECIESB input none the list of atoms that can be in the environments of each of the atoms for which the DOPS are being calculated
KERNELFILE compulsory none the file containing the list of kernel parameters
CUTOFF compulsory 6.25 to make the calculation faster we calculate a cutoff value on the distances

References

More information about how this action can be used is available in the following articles: