force_constant¶
(
- data_context,
- **kwargs
)
Force constants are the 2nd derivatives of the energy with respect to displacement.
Force constants quantify the strength of interactions between atoms in a crystal lattice. They describe how the potential energy of the system changes with atomic displacements. Specifically they are the second derivative of the energy with respect to a displacement from their equilibrium positions. Force constants are a key component in determining the vibrational modes of a crystal lattice (phonon dispersion). Phonon calculations involve the computation of these force constants. Keep in mind that they are the second derivative at the equilibrium position so a careful relaxation is required to eliminate the first derivative (i.e. forces).
eigenvectors
path
read
selections
dict
Returns possible alternatives for this particular quantity VASP can produce.
The returned dictionary contains a single item with the name of the quantity mapping to all possible selections. Each of these selection may be passed to other functions of this quantity to select which output of VASP is used. Some quantities provide additional elements which can be passed as selection for other routines.
Returns
dict- The key indicates this quantity and the values possible choices for arguments to other functions of this quantity.
to_dict
dict
Read structure information and force constants into a dictionary.
The structural information is added to inform about which atoms are included in the array. The force constants array contains the second derivatives with respect to atomic displacement for all atoms and directions.
Returns
dict- Contains structural information as well as the raw force constant data.
to_molden
str
Convert the eigenvectors of the force constant into molden format.
Keep in mind that the eigenvectors indicate the direction of the forces and do not take into account the masses of the atom.
Returns
str- String describing the structure and eigenvectors in molden format.