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 1065 of file WorkDistrib.C.
|
|
|
Definition at line 1075 of file WorkDistrib.C. References a_total, b_total, c_total, and npatches. 01075 {
01076 float a1 = ((float)a_total)/((float)npatches);
01077 float a2 = ((float)o.a_total)/((float)o.npatches);
01078 float b1 = ((float)b_total)/((float)npatches);
01079 float b2 = ((float)o.b_total)/((float)o.npatches);
01080 float c1 = ((float)c_total)/((float)npatches);
01081 float c2 = ((float)o.c_total)/((float)o.npatches);
01082 return ( (a1 < a2) || ((a1 == a2) && (b1 < b2)) ||
01083 ((a1 == a2) && (b1 == b2) && (c1 < c2)) );
01084 }
|
|
|
Definition at line 1066 of file WorkDistrib.C. References a_total, b_total, c_total, and npatches. 01066 {
01067 float a1 = ((float)a_total)/((float)npatches);
01068 float a2 = ((float)o.a_total)/((float)o.npatches);
01069 float b1 = ((float)b_total)/((float)npatches);
01070 float b2 = ((float)o.b_total)/((float)o.npatches);
01071 float c1 = ((float)c_total)/((float)npatches);
01072 float c2 = ((float)o.c_total)/((float)o.npatches);
01073 return ((a1 == a2) && (b1 == b2) && (c1 == c2));
01074 }
|
|
|
Definition at line 1061 of file WorkDistrib.C. Referenced by operator<(), and operator==(). |
|
|
Definition at line 1062 of file WorkDistrib.C. Referenced by operator<(), and operator==(). |
|
|
Definition at line 1063 of file WorkDistrib.C. Referenced by operator<(), and operator==(). |
|
|
Definition at line 1060 of file WorkDistrib.C. |
|
|
Definition at line 1064 of file WorkDistrib.C. Referenced by operator<(), and operator==(). |
1.3.9.1