Gromacs
2025-dev-20240910-a7e2421
|
#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. | |
|
inline |
Correct the virial tensor for the missing dispersion.
[in,out] | virialTensor | The virial tensor to correct |