26 int *adjacency = NULL;
32 double options[10] = {1,1,0,0,1,1,50,0,0.001,7654321};
33 double *in_options = NULL;
37 #ifndef _HAVE_CHACO_ //only works if dakota library has been compiled in.
38 _error_(
"Chaco not available! Cannot carry out Chaco partitioning!");
54 for (i=0;i<(nterms<10?nterms:10);i++) options[i]=in_options[i];
60 short* assignment = xNewZeroInit<short>(nvtxs);
63 Chacox(nvtxs, start, adjacency, vwgts, ewgts, x, y, z, assignment, options,&npart, goal);
69 xDelete<short>(assignment);
70 xDelete<double>(goal);
75 xDelete<float>(ewgts);
77 xDelete<int>(adjacency);