Gromacs  2025-dev-20240910-a7e2421
 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>

Description

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
inline

Correct the virial tensor for the missing dispersion.

Parameters
[in,out]virialTensorThe virial tensor to correct

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