pe_sortop_coord_x Struct Reference

List of all members.

Public Member Functions

 pe_sortop_coord_x (ScaledPosition *s)
bool operator() (int a, int b) const

Public Attributes

ScaledPositionspos

Detailed Description

Definition at line 252 of file WorkDistrib.C.


Constructor & Destructor Documentation

pe_sortop_coord_x::pe_sortop_coord_x ( ScaledPosition s  )  [inline]

Definition at line 254 of file WorkDistrib.C.

00254 : spos(s) {}


Member Function Documentation

bool pe_sortop_coord_x::operator() ( int  a,
int  b 
) const [inline]

Definition at line 255 of file WorkDistrib.C.

References spos, and x.

00255                                               {
00256     return ( spos[a].x < spos[b].x );
00257   }


Member Data Documentation

ScaledPosition* pe_sortop_coord_x::spos

Definition at line 253 of file WorkDistrib.C.

Referenced by operator()().


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