NAMD
Public Member Functions | Public Attributes | List of all members
ReductionSetData Class Reference

#include <ReductionMgr.h>

Public Member Functions

 ReductionSetData (int seqNum, int size)
 
 ~ReductionSetData ()
 

Public Attributes

int sequenceNumber
 
int submitsRecorded
 
BigRealdata
 
ReductionSetDatanext
 

Detailed Description

Definition at line 194 of file ReductionMgr.h.

Constructor & Destructor Documentation

ReductionSetData::ReductionSetData ( int  seqNum,
int  size 
)
inline

Definition at line 200 of file ReductionMgr.h.

References data, next, sequenceNumber, and submitsRecorded.

200  {
201  sequenceNumber = seqNum;
202  submitsRecorded = 0;
203  data = new BigReal[size];
204  for ( int i = 0; i < size; ++i ) { data[i] = 0; }
205  next = 0;
206  }
ReductionSetData * next
Definition: ReductionMgr.h:199
double BigReal
Definition: common.h:112
ReductionSetData::~ReductionSetData ( )
inline

Definition at line 207 of file ReductionMgr.h.

References data.

207  {
208  delete [] data;
209  }

Member Data Documentation

BigReal* ReductionSetData::data
ReductionSetData* ReductionSetData::next
int ReductionSetData::sequenceNumber

Definition at line 196 of file ReductionMgr.h.

Referenced by ReductionSetData().

int ReductionSetData::submitsRecorded

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