NAMD
Public Member Functions | Public Attributes | List of all members
WorkIndex Struct Reference

Public Member Functions

 WorkIndex ()
 
 WorkIndex (float w, int i)
 
int operator<= (const WorkIndex &wn)
 

Public Attributes

float work
 
int index
 

Detailed Description

Definition at line 346 of file ComputeMsm.C.

Constructor & Destructor Documentation

WorkIndex::WorkIndex ( )
inline

Definition at line 349 of file ComputeMsm.C.

349 : work(0), index(0) { }
float work
Definition: ComputeMsm.C:347
WorkIndex::WorkIndex ( float  w,
int  i 
)
inline

Definition at line 350 of file ComputeMsm.C.

350 : work(w), index(i) { }
float work
Definition: ComputeMsm.C:347

Member Function Documentation

int WorkIndex::operator<= ( const WorkIndex wn)
inline

Definition at line 351 of file ComputeMsm.C.

References work.

351  {
352  return (work <= wn.work);
353  }
float work
Definition: ComputeMsm.C:347

Member Data Documentation

int WorkIndex::index

Definition at line 348 of file ComputeMsm.C.

float WorkIndex::work

Definition at line 347 of file ComputeMsm.C.

Referenced by operator<=().


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