sortop_y Struct Reference

Inheritance diagram for sortop_y:

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 12 Aug 2020 for NAMD by  doxygen 1.6.1