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

#include <gromacs/mdtypes/enerdata.h>

+ Collaboration diagram for gmx_enerdata_t:


Struct for accumulating all potential energy terms and some kinetic energy terms.

Public Member Functions

 gmx_enerdata_t (int numEnergyGroups, int numFepLambdas)
 Constructor with specific number of energy groups and lambdas. More...

Public Attributes

std::array< real, F_NRE > term = { 0 }
 The energies for all different interaction types.
struct gmx_grppairener_t grpp
 Energy group pair non-bonded energies.
< FreeEnergyPerturbationCouplingType,
double > 
dvdl_lin = { 0 }
 Contributions to dV/dlambda with linear dependence on lambda.
< FreeEnergyPerturbationCouplingType,
double > 
dvdl_nonlin = { 0 }
 Contributions to dV/dlambda with non-linear dependence on lambda.
ForeignLambdaTerms foreignLambdaTerms
 Foreign lambda energies and dH/dl.

Constructor & Destructor Documentation

gmx_enerdata_t::gmx_enerdata_t ( int  numEnergyGroups,
int  numFepLambdas 

Constructor with specific number of energy groups and lambdas.

[in]numEnergyGroupsNumber of energy groups used.
[in]numFepLambdasNumber of free energy lambdas, zero if none.

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