| Line 114... |
Line 114... |
| 114 |
/*************************************************************************
|
114 |
/*************************************************************************
|
| 115 |
* This function checks whether or not the boundary information is correct
|
115 |
* This function checks whether or not the boundary information is correct
|
| 116 |
**************************************************************************/
|
116 |
**************************************************************************/
|
| 117 |
int CheckNodeBnd(GraphType *graph, int onbnd)
|
117 |
int CheckNodeBnd(GraphType *graph, int onbnd)
|
| 118 |
{
|
118 |
{
|
| 119 |
int i, j, nvtxs, nbnd;
|
119 |
int i/* , j */, nvtxs, nbnd;
|
| 120 |
idxtype *xadj, *adjncy, *where, *bndptr, *bndind;
|
120 |
idxtype *xadj, *adjncy, *where, *bndptr, *bndind;
|
| 121 |
|
121 |
|
| 122 |
nvtxs = graph->nvtxs;
|
122 |
nvtxs = graph->nvtxs;
|
| 123 |
xadj = graph->xadj;
|
123 |
xadj = graph->xadj;
|
| 124 |
adjncy = graph->adjncy;
|
124 |
adjncy = graph->adjncy;
|
| Line 167... |
Line 167... |
| 167 |
/*************************************************************************
|
167 |
/*************************************************************************
|
| 168 |
* This function checks the correctness of the NodeFM data structures
|
168 |
* This function checks the correctness of the NodeFM data structures
|
| 169 |
**************************************************************************/
|
169 |
**************************************************************************/
|
| 170 |
int CheckNodePartitionParams(GraphType *graph)
|
170 |
int CheckNodePartitionParams(GraphType *graph)
|
| 171 |
{
|
171 |
{
|
| 172 |
int i, j, k, l, nvtxs, me, other;
|
172 |
int i, j/* , k, l */, nvtxs, me, other;
|
| 173 |
idxtype *xadj, *adjncy, *adjwgt, *vwgt, *where;
|
173 |
idxtype *xadj, *adjncy, *adjwgt, *vwgt, *where;
|
| 174 |
idxtype edegrees[2], pwgts[3];
|
174 |
idxtype edegrees[2], pwgts[3];
|
| 175 |
|
175 |
|
| 176 |
nvtxs = graph->nvtxs;
|
176 |
nvtxs = graph->nvtxs;
|
| 177 |
xadj = graph->xadj;
|
177 |
xadj = graph->xadj;
|