Definition at line 2055 of file WorkDistrib.C.
◆ patch_sortop_curve_b()
patch_sortop_curve_b::patch_sortop_curve_b |
( |
PatchMap * |
m | ) |
|
|
inline |
◆ operator()()
bool patch_sortop_curve_b::operator() |
( |
int |
p1, |
|
|
int |
p2 |
|
) |
| const |
|
inline |
Definition at line 2058 of file WorkDistrib.C.
References PatchMap::index_a(), PatchMap::index_b(), PatchMap::index_c(), and pmap.
2061 if ( a1 < a2 )
return true;
2062 if ( a1 > a2 )
return false;
2063 int dir = ( (a1 & 1) ? -1 : 1 );
2066 if ( b1 * dir < b2 * dir )
return true;
2067 if ( b1 * dir > b2 * dir )
return false;
2068 dir *= ( (b1 & 1) ? -1 : 1 );
2071 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: