Searched refs:wdist (Results 1 – 1 of 1) sorted by relevance
299 PetscReal *wdist; in PCBDDCGraphComputeConnectedComponents() local306 PetscCall(PetscMalloc1(maxc * graph->cdim, &wdist)); in PCBDDCGraphComputeConnectedComponents()321 wdist[k++] = c; in PCBDDCGraphComputeConnectedComponents()332 anchor = wdist + fst * cdim; in PCBDDCGraphComputeConnectedComponents()339 …for (d = 0; d < cdim; d++) dist += (wdist[j * cdim + d] - anchor[d]) * (wdist[j * cdim + d] - anch… in PCBDDCGraphComputeConnectedComponents()347 anchor = wdist + point1 * cdim; in PCBDDCGraphComputeConnectedComponents()354 …for (d = 0; d < cdim; d++) dist += (wdist[j * cdim + d] - anchor[d]) * (wdist[j * cdim + d] - anch… in PCBDDCGraphComputeConnectedComponents()366 …or (d = 0; d < cdim; d++) a += (wdist[point1 * cdim + d] - wdist[point2 * cdim + d]) * (wdist[poin… in PCBDDCGraphComputeConnectedComponents()374 …b += (wdist[point1 * cdim + d] - wdist[j * cdim + d]) * (wdist[point1 * cdim + d] - wdist[j * cdim… in PCBDDCGraphComputeConnectedComponents()375 …c += (wdist[point2 * cdim + d] - wdist[j * cdim + d]) * (wdist[point2 * cdim + d] - wdist[j * cdim… in PCBDDCGraphComputeConnectedComponents()[all …]