sortop_y Struct Reference

Inheritance diagram for sortop_y:

sortop_base List of all members.

Public Member Functions

 sortop_y (const FullAtom *atoms)
bool operator() (int i, int j) const

Detailed Description

Definition at line 26 of file SortAtoms.C.


Constructor & Destructor Documentation

sortop_y::sortop_y ( const FullAtom atoms  )  [inline]

Definition at line 27 of file SortAtoms.C.

00027 : sortop_base(atoms) { }


Member Function Documentation

bool sortop_y::operator() ( int  i,
int  j 
) const [inline]

Definition at line 28 of file SortAtoms.C.

References sortop_base::a, CompAtom::position, and Vector::y.

00028                                        {
00029     return ( a[i].position.y < a[j].position.y );
00030   }


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