Gromacs  2018.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
gmx::anonymous_namespace{histogramsize.cpp} Namespace Reference

Functions

bool histogramIsEquilibrated (const std::vector< PointState > &pointStates)
 Checks if the histogram has equilibrated to the target distribution. More...
 

Function Documentation

bool gmx::anonymous_namespace{histogramsize.cpp}::histogramIsEquilibrated ( const std::vector< PointState > &  pointStates)

Checks if the histogram has equilibrated to the target distribution.

The histogram is considered equilibrated if, for a minimum fraction of the target region, the relative error of the sampled weight relative to the target is less than a tolerance value.

Parameters
[in]pointStatesThe state of the bias points.
Returns
true if the histogram is equilibrated.