Public Member Functions | List of all members
sortop_z Struct Reference
Inheritance diagram for sortop_z:

Public Member Functions

 sortop_z (const FullAtom *atoms)
bool operator() (int i, int j) const
- Public Member Functions inherited from sortop_base
 sortop_base (const FullAtom *atoms)

Additional Inherited Members

- Public Attributes inherited from sortop_base
const FullAtom *const a

Detailed Description

Definition at line 34 of file SortAtoms.C.

Constructor & Destructor Documentation

sortop_z::sortop_z ( const FullAtom atoms)

Definition at line 35 of file SortAtoms.C.

35 : sortop_base(atoms) { }
sortop_base(const FullAtom *atoms)
Definition: SortAtoms.C:17

Member Function Documentation

bool sortop_z::operator() ( int  i,
int  j 
) const

Definition at line 36 of file SortAtoms.C.

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

36  {
37  return ( a[i].position.z < a[j].position.z );
38  }
BigReal z
Definition: Vector.h:66
const FullAtom *const a
Definition: SortAtoms.C:16
Position position
Definition: NamdTypes.h:53

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