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

Public Member Functions

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

Public Attributes

ScaledPositionspos
 

Detailed Description

Definition at line 264 of file WorkDistrib.C.

Constructor & Destructor Documentation

pe_sortop_coord_y::pe_sortop_coord_y ( ScaledPosition s)
inline

Definition at line 266 of file WorkDistrib.C.

266 : spos(s) {}
ScaledPosition * spos
Definition: WorkDistrib.C:265

Member Function Documentation

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

Definition at line 267 of file WorkDistrib.C.

References spos, and y.

267  {
268  return ( spos[a].y < spos[b].y );
269  }
gridSize y
ScaledPosition * spos
Definition: WorkDistrib.C:265

Member Data Documentation

ScaledPosition* pe_sortop_coord_y::spos

Definition at line 265 of file WorkDistrib.C.

Referenced by operator()().


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