Public Member Functions | |
| nodesort () | |
| int | operator== (const nodesort &o) const |
| int | operator< (const nodesort &o) const |
Public Attributes | |
| int | node |
| int | a_total |
| int | b_total |
| int | c_total |
| int | npatches |
|
|
Definition at line 1425 of file WorkDistrib.C.
|
|
|
Definition at line 1435 of file WorkDistrib.C. References a_total, b_total, c_total, and npatches. 01435 {
01436 float a1 = ((float)a_total)/((float)npatches);
01437 float a2 = ((float)o.a_total)/((float)o.npatches);
01438 float b1 = ((float)b_total)/((float)npatches);
01439 float b2 = ((float)o.b_total)/((float)o.npatches);
01440 float c1 = ((float)c_total)/((float)npatches);
01441 float c2 = ((float)o.c_total)/((float)o.npatches);
01442 return ( (a1 < a2) || ((a1 == a2) && (b1 < b2)) ||
01443 ((a1 == a2) && (b1 == b2) && (c1 < c2)) );
01444 }
|
|
|
Definition at line 1426 of file WorkDistrib.C. References a_total, b_total, c_total, and npatches. 01426 {
01427 float a1 = ((float)a_total)/((float)npatches);
01428 float a2 = ((float)o.a_total)/((float)o.npatches);
01429 float b1 = ((float)b_total)/((float)npatches);
01430 float b2 = ((float)o.b_total)/((float)o.npatches);
01431 float c1 = ((float)c_total)/((float)npatches);
01432 float c2 = ((float)o.c_total)/((float)o.npatches);
01433 return ((a1 == a2) && (b1 == b2) && (c1 == c2));
01434 }
|
|
|
Definition at line 1421 of file WorkDistrib.C. Referenced by operator<(), and operator==(). |
|
|
Definition at line 1422 of file WorkDistrib.C. Referenced by operator<(), and operator==(). |
|
|
Definition at line 1423 of file WorkDistrib.C. Referenced by operator<(), and operator==(). |
|
|
Definition at line 1420 of file WorkDistrib.C. |
|
|
Definition at line 1424 of file WorkDistrib.C. Referenced by operator<(), and operator==(). |
1.3.9.1