NAMD
Public Member Functions | List of all members
atomID_less Struct Reference

Public Member Functions

bool operator() (position_index const &a, position_index const &b) const
 

Detailed Description

Definition at line 320 of file GlobalMasterServer.C.

Member Function Documentation

bool atomID_less::operator() ( position_index const &  a,
position_index const &  b 
) const
inline

Definition at line 321 of file GlobalMasterServer.C.

References position_index::atomID.

321  {
322  if (a.atomID < b.atomID) return true;
323  if (a.atomID > b.atomID) return false;
324 
325  return false;
326 }

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