|
Gromacs
2026.0-dev-20251114-850eace
|
#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 |
1.8.5