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 316 of file GlobalMasterServer.C.

Member Function Documentation

◆ operator()()

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

Definition at line 317 of file GlobalMasterServer.C.

References position_index::atomID.

317  {
318  if (a.atomID < b.atomID) return true;
319  if (a.atomID > b.atomID) return false;
320 
321  return false;
322 }

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