MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Public Member Functions | |
bool | operator() (const std::vector< unsigned > &a, const std::vector< unsigned > &b) const |
Map type for lookup of ProcHandleMapType instance by rank
Definition at line 131 of file SharedSetData.hpp.
bool moab::SharedSetData::less_vect::operator() | ( | const std::vector< unsigned > & | a, |
const std::vector< unsigned > & | b | ||
) | const [inline] |
Definition at line 133 of file SharedSetData.hpp.
{ // sort by size first if( a.size() != b.size() ) return a.size() < b.size(); // if same size, sort by first non-equal value size_t i = 0; while( i != a.size() && a[i] == b[i] ) ++i; return i != a.size() && a[i] < b[i]; }