Gromacs  2024.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
DispersionCorrection::Correction Struct Reference

#include <gromacs/mdlib/dispersioncorrection.h>


Struct for returning all dispersion correction quantities.

Public Member Functions

void correctVirial (tensor virialTensor) const
 Correct the virial tensor for the missing dispersion. More...

Public Attributes

real virial = 0
 Scalar correction to the virial.
real pressure = 0
 Scalar correction to the pressure.
real energy = 0
 Correction to the energy.
real dvdl = 0
 Correction to dH/dlambda.

Member Function Documentation

void DispersionCorrection::Correction::correctVirial ( tensor  virialTensor) const

Correct the virial tensor for the missing dispersion.

[in,out]virialTensorThe virial tensor to correct

The documentation for this struct was generated from the following file: