Definition at line 2088 of file WorkDistrib.C.
◆ patch_sortop_curve_c()
patch_sortop_curve_c::patch_sortop_curve_c |
( |
PatchMap * |
m | ) |
|
|
inline |
◆ operator()()
bool patch_sortop_curve_c::operator() |
( |
int |
p1, |
|
|
int |
p2 |
|
) |
| const |
|
inline |
Definition at line 2091 of file WorkDistrib.C.
References PatchMap::index_a(), PatchMap::index_b(), PatchMap::index_c(), and pmap.
2094 if ( a1 < a2 )
return true;
2095 if ( a1 > a2 )
return false;
2096 int dir = ( (a1 & 1) ? -1 : 1 );
2099 if ( b1 * dir < b2 * dir )
return true;
2100 if ( b1 * dir > b2 * dir )
return false;
2101 dir *= ( (b1 & 1) ? -1 : 1 );
2104 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: