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 1138 of file WorkDistrib.C.
|
|
|
Definition at line 1148 of file WorkDistrib.C. References a_total, b_total, c_total, and npatches. 01148 {
01149 float a1 = ((float)a_total)/((float)npatches);
01150 float a2 = ((float)o.a_total)/((float)o.npatches);
01151 float b1 = ((float)b_total)/((float)npatches);
01152 float b2 = ((float)o.b_total)/((float)o.npatches);
01153 float c1 = ((float)c_total)/((float)npatches);
01154 float c2 = ((float)o.c_total)/((float)o.npatches);
01155 return ( (a1 < a2) || ((a1 == a2) && (b1 < b2)) ||
01156 ((a1 == a2) && (b1 == b2) && (c1 < c2)) );
01157 }
|
|
|
Definition at line 1139 of file WorkDistrib.C. References a_total, b_total, c_total, and npatches. 01139 {
01140 float a1 = ((float)a_total)/((float)npatches);
01141 float a2 = ((float)o.a_total)/((float)o.npatches);
01142 float b1 = ((float)b_total)/((float)npatches);
01143 float b2 = ((float)o.b_total)/((float)o.npatches);
01144 float c1 = ((float)c_total)/((float)npatches);
01145 float c2 = ((float)o.c_total)/((float)o.npatches);
01146 return ((a1 == a2) && (b1 == b2) && (c1 == c2));
01147 }
|
|
|
Definition at line 1134 of file WorkDistrib.C. Referenced by operator<(), and operator==(). |
|
|
Definition at line 1135 of file WorkDistrib.C. Referenced by operator<(), and operator==(). |
|
|
Definition at line 1136 of file WorkDistrib.C. Referenced by operator<(), and operator==(). |
|
|
Definition at line 1133 of file WorkDistrib.C. |
|
|
Definition at line 1137 of file WorkDistrib.C. Referenced by operator<(), and operator==(). |
1.3.9.1