sortop_z Struct Reference

Inheritance diagram for sortop_z:

sortop_base List of all members.

Public Member Functions

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

Detailed Description

Definition at line 33 of file SortAtoms.C.


Constructor & Destructor Documentation

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

Definition at line 34 of file SortAtoms.C.

00034 : sortop_base(atoms) { }


Member Function Documentation

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

Definition at line 35 of file SortAtoms.C.

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

00035                                        {
00036     return ( a[i].position.z < a[j].position.z );
00037   }


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