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 1098 of file WorkDistrib.C.
|
|
|
Definition at line 1108 of file WorkDistrib.C. References a_total, b_total, c_total, and npatches. 01108 {
01109 float a1 = ((float)a_total)/((float)npatches);
01110 float a2 = ((float)o.a_total)/((float)o.npatches);
01111 float b1 = ((float)b_total)/((float)npatches);
01112 float b2 = ((float)o.b_total)/((float)o.npatches);
01113 float c1 = ((float)c_total)/((float)npatches);
01114 float c2 = ((float)o.c_total)/((float)o.npatches);
01115 return ( (a1 < a2) || ((a1 == a2) && (b1 < b2)) ||
01116 ((a1 == a2) && (b1 == b2) && (c1 < c2)) );
01117 }
|
|
|
Definition at line 1099 of file WorkDistrib.C. References a_total, b_total, c_total, and npatches. 01099 {
01100 float a1 = ((float)a_total)/((float)npatches);
01101 float a2 = ((float)o.a_total)/((float)o.npatches);
01102 float b1 = ((float)b_total)/((float)npatches);
01103 float b2 = ((float)o.b_total)/((float)o.npatches);
01104 float c1 = ((float)c_total)/((float)npatches);
01105 float c2 = ((float)o.c_total)/((float)o.npatches);
01106 return ((a1 == a2) && (b1 == b2) && (c1 == c2));
01107 }
|
|
|
Definition at line 1094 of file WorkDistrib.C. Referenced by operator<(), and operator==(). |
|
|
Definition at line 1095 of file WorkDistrib.C. Referenced by operator<(), and operator==(). |
|
|
Definition at line 1096 of file WorkDistrib.C. Referenced by operator<(), and operator==(). |
|
|
Definition at line 1093 of file WorkDistrib.C. |
|
|
Definition at line 1097 of file WorkDistrib.C. Referenced by operator<(), and operator==(). |
1.3.9.1