Public Member Functions | Public Attributes | List of all members
pntChrgDist Struct Reference

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 ( )

Definition at line 117 of file ComputeQM.C.

117 : index(-1), dist(0) {};
pntChrgDist::pntChrgDist ( int  newIndx,
Real  newDist 

Definition at line 118 of file ComputeQM.C.

References dist, and index.

118  {
119  index = newIndx;
120  dist = newDist;
121  }

Member Function Documentation

int pntChrgDist::operator< ( const pntChrgDist v)

Definition at line 122 of file ComputeQM.C.

References dist.

122 {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: