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

Public Member Functions

 sortop_y (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 27 of file SortAtoms.C.

Constructor & Destructor Documentation

sortop_y::sortop_y ( const FullAtom atoms)

Definition at line 28 of file SortAtoms.C.

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

Member Function Documentation

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

Definition at line 29 of file SortAtoms.C.

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

29  {
30  return ( a[i].position.y < a[j].position.y );
31  }
const FullAtom *const a
Definition: SortAtoms.C:16
Position position
Definition: NamdTypes.h:53
BigReal y
Definition: Vector.h:66

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