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

Public Member Functions

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

Public Attributes

ScaledPositionspos
 

Detailed Description

Definition at line 256 of file WorkDistrib.C.

Constructor & Destructor Documentation

pe_sortop_coord_x::pe_sortop_coord_x ( ScaledPosition s)
inline

Definition at line 258 of file WorkDistrib.C.

258 : spos(s) {}
ScaledPosition * spos
Definition: WorkDistrib.C:257

Member Function Documentation

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

Definition at line 259 of file WorkDistrib.C.

References spos, and x.

259  {
260  return ( spos[a].x < spos[b].x );
261  }
ScaledPosition * spos
Definition: WorkDistrib.C:257
gridSize x

Member Data Documentation

ScaledPosition* pe_sortop_coord_x::spos

Definition at line 257 of file WorkDistrib.C.

Referenced by operator()().


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