Definition at line 1934 of file WorkDistrib.C.
patch_sortop_curve_b::patch_sortop_curve_b |
( |
PatchMap * |
m | ) |
|
|
inline |
bool patch_sortop_curve_b::operator() |
( |
int |
p1, |
|
|
int |
p2 |
|
) |
| const |
|
inline |
Definition at line 1937 of file WorkDistrib.C.
References PatchMap::index_a(), PatchMap::index_b(), PatchMap::index_c(), and pmap.
1940 if ( a1 < a2 )
return true;
1941 if ( a1 > a2 )
return false;
1942 int dir = ( (a1 & 1) ? -1 : 1 );
1945 if ( b1 * dir < b2 * dir )
return true;
1946 if ( b1 * dir > b2 * dir )
return false;
1947 dir *= ( (b1 & 1) ? -1 : 1 );
1950 if ( c1 * dir < c2 * dir )
return true;
int index_a(int pid) const
int index_b(int pid) const
int index_c(int pid) const
The documentation for this struct was generated from the following file: