Definition at line 2034 of file WorkDistrib.C.
◆ patch_sortop_curve_a()
patch_sortop_curve_a::patch_sortop_curve_a |
( |
PatchMap * |
m | ) |
|
|
inline |
◆ operator()()
bool patch_sortop_curve_a::operator() |
( |
int |
p1, |
|
|
int |
p2 |
|
) |
| const |
|
inline |
Definition at line 2037 of file WorkDistrib.C.
References PatchMap::index_a(), PatchMap::index_b(), PatchMap::index_c(), and pmap.
2040 if ( a1 < a2 )
return true;
2041 if ( a1 > a2 )
return false;
2042 int dir = ( (a1 & 1) ? -1 : 1 );
2045 if ( b1 * dir < b2 * dir )
return true;
2046 if ( b1 * dir > b2 * dir )
return false;
2047 dir *= ( (b1 & 1) ? -1 : 1 );
2050 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
◆ pmap
The documentation for this struct was generated from the following file: