QMCPACK
Int3less Struct Reference
+ Collaboration diagram for Int3less:

Public Member Functions

bool operator() (const TinyVector< int, 3 > &a, const TinyVector< int, 3 > &b) const
 

Detailed Description

Definition at line 41 of file EinsplineSetBuilder.h.

Member Function Documentation

◆ operator()()

bool operator() ( const TinyVector< int, 3 > &  a,
const TinyVector< int, 3 > &  b 
) const
inline

Definition at line 43 of file EinsplineSetBuilder.h.

44  {
45  if (a[0] > b[0])
46  return false;
47  if (a[0] < b[0])
48  return true;
49  if (a[1] > b[1])
50  return false;
51  if (a[1] < b[1])
52  return true;
53  if (a[2] > b[2])
54  return false;
55  if (a[2] < b[2])
56  return true;
57  return false;
58  }

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