MPQC  3.0.0-alpha
sc::sma2::IndexListLess< N > Class Template Reference

Functor for determining if one IndexList is less than another. More...

#include <chemistry/qc/lmp2/sma.h>

Public Member Functions

 IndexListLess (const IndexList &il)
 Use the IndexList il to sort the indices.
 
 IndexListLess (const IndexList &il1, const IndexList &il2)
 Use the indices in both IndexList objects, il1 and il2, to sort the indices.
 
bool operator() (const BlockInfo< N > &b1, const BlockInfo< N > &b2) const
 
int compare (const BlockInfo< N > &b1, const BlockInfo< N > &b2) const
 

Detailed Description

template<int N>
class sc::sma2::IndexListLess< N >

Functor for determining if one IndexList is less than another.

Note: this uses the BlockInfo bound info. As a result, when using this as a set or map comparison optimization, care must be taken that the bound does not get changed, even though the bound is mutable.


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

Generated at Sun Jan 26 2020 23:24:15 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.