sortop_x Struct Reference

Inheritance diagram for sortop_x:

sortop_base List of all members.

Public Member Functions

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

Detailed Description

Definition at line 19 of file SortAtoms.C.


Constructor & Destructor Documentation

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

Definition at line 20 of file SortAtoms.C.

00020 : sortop_base(atoms) { }


Member Function Documentation

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

Definition at line 21 of file SortAtoms.C.

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

00021                                        {
00022     return ( a[i].position.x < a[j].position.x );
00023   }


The documentation for this struct was generated from the following file:
Generated on Sun Sep 24 01:17:20 2017 for NAMD by  doxygen 1.4.7