pntChrgDist Struct Reference

List of all members.

Public Member Functions

 pntChrgDist ()
 pntChrgDist (int newIndx, Real newDist)
int operator< (const pntChrgDist &v)

Public Attributes

int index
Real dist

Detailed Description

Definition at line 114 of file ComputeQM.C.


Constructor & Destructor Documentation

pntChrgDist::pntChrgDist (  )  [inline]

Definition at line 117 of file ComputeQM.C.

00117 : index(-1), dist(0) {};

pntChrgDist::pntChrgDist ( int  newIndx,
Real  newDist 
) [inline]

Definition at line 118 of file ComputeQM.C.

References dist, and index.

00118                                            {
00119         index = newIndx;
00120         dist = newDist;
00121     }


Member Function Documentation

int pntChrgDist::operator< ( const pntChrgDist v  )  [inline]

Definition at line 122 of file ComputeQM.C.

References dist.

00122 {return dist < v.dist;}


Member Data Documentation

Real pntChrgDist::dist

Definition at line 116 of file ComputeQM.C.

Referenced by operator<(), and pntChrgDist().

int pntChrgDist::index

Definition at line 115 of file ComputeQM.C.

Referenced by pntChrgDist().


The documentation for this struct was generated from the following file:
Generated on Tue Nov 21 01:17:20 2017 for NAMD by  doxygen 1.4.7