Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Public Attributes
gmx::AnalysisDataLifetimeModule::Impl Class Reference

Description

Private implementation class for AnalysisDataLifetimeModule.

Public Types

typedef std::deque< int > LifetimeHistogram
 Container type for storing a histogram during the calculation.
 

Public Member Functions

 Impl ()
 Initializes the implementation class with empty/default values.
 
void addLifetime (int dataSet, int lifetime)
 Increments a lifetime histogram with a single lifetime. More...
 

Public Attributes

real firstx_
 X value of the first frame (used for determining output spacing).
 
real lastx_
 X value of the last frame (used for determining output spacing).
 
int frameCount_
 Total number of frames (used for normalization and output spacing).
 
bool bCumulative_
 Whether to add subintervals of longer intervals explicitly.
 
std::vector< std::vector< int > > currentLifetimes_
 Length of current continuously present interval for each data column. More...
 
std::vector< LifetimeHistogramlifetimeHistograms_
 Accumulated lifetime histograms for each data set.
 

Member Function Documentation

void gmx::AnalysisDataLifetimeModule::Impl::addLifetime ( int  dataSet,
int  lifetime 
)
inline

Increments a lifetime histogram with a single lifetime.

Parameters
[in]dataSetIndex of the histogram to increment.
[in]lifetimeLifetime to add to the histogram.

Member Data Documentation

std::vector<std::vector<int> > gmx::AnalysisDataLifetimeModule::Impl::currentLifetimes_

Length of current continuously present interval for each data column.

While frame N has been processed, stores the length of an interval for each data column where that column has been continuously present up to and including frame N.


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