Home
last modified time | relevance | path

Searched refs:term_wgts (Results 1 – 19 of 19) sorted by relevance

/dports/math/chaco/Chaco-2.2/code/klspiff/
H A Dbuckets1.c19 void bucketsort1(graph, vtx, buckets, listspace, dvals, sets, term_wgts, in bucketsort1() argument
27 float *term_wgts[]; /* weights for terminal propogation */
52 if (term_wgts[1] != NULL) {
65 if (term_wgts[1] != NULL) {
69 tval = (term_wgts[newset])[vtx];
81 tval = -(term_wgts[myset])[vtx];
93 tval = (term_wgts[newset])[vtx] - (term_wgts[myset])[vtx];
H A Dbuckets.c19 void bucketsorts(graph, nvtxs, buckets, listspace, dvals, sets, term_wgts, in bucketsorts() argument
27 float *term_wgts[]; /* weights for terminal propogation */
88 if (term_wgts[1] != NULL) {
103 if (term_wgts[1] != NULL) {
107 tval = (term_wgts[newset])[vtx];
119 tval = -(term_wgts[myset])[vtx];
131 tval = (term_wgts[newset])[vtx] - (term_wgts[myset])[vtx];
H A Dcoarsen_kl.c23 float *term_wgts[]; /* weights for terminal propogation */
128 if (!using_ewgts && term_wgts[1] != NULL && step != 0) {
138 twptr = term_wgts[j];
149 real_term_wgts = term_wgts;
250 if (real_term_wgts != term_wgts && new_term_wgts[1] != NULL) {
270 if (term_wgts[1] != NULL) {
284 twptr = term_wgts[j];
402 if (!using_ewgts && term_wgts[1] != NULL && step != 0) {
412 twptr = term_wgts[j];
423 real_term_wgts = term_wgts;
[all …]
H A Dklspiff.c19 void klspiff(graph, nvtxs, sets, nsets, hops, goal, term_wgts, max_dev, in klspiff() argument
27 float *term_wgts[]; /* weights for terminal propogation */
75 if (term_wgts[1] != NULL) {
77 twptr = term_wgts[j];
109 maxdval, nsets, goal, term_wgts, hops, max_dev, using_ewgts,
H A Dbuckets_bi.c20 void bucketsorts_bi(graph, nvtxs, buckets, listspace, dvals, sets, term_wgts, in bucketsorts_bi() argument
28 float *term_wgts[]; /* weights for terminal propogation */
89 if (term_wgts[1] != NULL) {
101 twptr = term_wgts[1];
H A Dnway_kl.c23 maxdval, nsets, goal, term_wgts, hops, max_dev, in nway_kl() argument
35 float *term_wgts[]; /* weights for terminal propogation */
132 if (term_wgts[1] != NULL) {
224 bucketsorts_bi(graph, nvtxs, buckets, listspace, dvals, sets, term_wgts,
229 bucketsorts(graph, nvtxs, buckets, listspace, dvals, sets, term_wgts,
432 term_wgts, maxdval, nsets, hops, using_ewgts);
H A Dnway_kl.old21 maxdval, nsets, goal, term_wgts, hops, max_dev,
33 float *term_wgts[]; /* weights for terminal propogation */
124 if (term_wgts[1] != NULL) {
214 bucketsorts_bi(graph, nvtxs, buckets, listspace, dvals, sets, term_wgts,
219 bucketsorts(graph, nvtxs, buckets, listspace, dvals, sets, term_wgts,
426 term_wgts, maxdval, nsets, hops, using_ewgts);
/dports/math/chaco/Chaco-2.2/code/coarsen/
H A Dcoarsen.c20 float *term_wgts[]; /* terminal weights */
117 if (!using_ewgts && term_wgts[1] != NULL && step != 0) {
127 twptr = term_wgts[j];
138 real_term_wgts = term_wgts;
147 if (real_term_wgts != term_wgts && new_term_wgts[1] != NULL) {
189 if (term_wgts[1] != NULL) {
203 twptr = term_wgts[j];
294 if (term_wgts[1] != NULL && ndims == 1) {
298 if (!using_ewgts && term_wgts[1] != NULL && step != 0) {
308 twptr = term_wgts[j];
[all …]
/dports/math/chaco/Chaco-2.2/code/refine_part/
H A Drefine_part.c29 float *term_wgts[2]; /* terminal propagation vector */ local
66 term_wgts[1] = NULL;
228 term_wgts[1] = (float *) smalloc_ret((unsigned) (nmax + 1) * sizeof(float));
229 if (term_wgts[1] == NULL) goto skip;
232 term_wgts[1] = NULL;
293 temp = srealloc_ret((char *) term_wgts[1],
299 term_wgts[1] = (float *) temp;
326 degrees, using_ewgts, hops, goal, sizes, term_wgts, architecture,
359 sfree((char *) term_wgts[1]);
H A Dmake_terms_ref.c10 assignment, architecture, mesh_dims, term_wgts) in make_terms_ref() argument
19 float *term_wgts[]; /* terminal weights for each vertex */
77 (term_wgts[1])[i] = term_wgt;
H A Dkl_refine.c14 degrees, using_ewgts, hops, goal, sizes, term_wgts, architecture, in kl_refine() argument
31 float *term_wgts[]; /* space for terminal propagation weights */
73 set1, set2, new_assign, architecture, mesh_dims, term_wgts);
91 term_wgts, max_dev, maxdeg, using_ewgts, &null_ptr, weights);
/dports/math/chaco/Chaco-2.2/code/klvspiff/
H A Dcoarsen_klv.c19 void coarsen_klv(graph, nvtxs, nedges, using_vwgts, using_ewgts, term_wgts, in coarsen_klv() argument
29 float *term_wgts[]; /* weights for terminal propogation */
286 if (term_wgts[1] != NULL) {
300 twptr = term_wgts[j];
412 if (!using_ewgts && term_wgts[1] != NULL && step != 0) {
422 twptr = term_wgts[j];
436 real_term_wgts = term_wgts;
476 if (real_term_wgts != term_wgts && new_term_wgts[1] != NULL) {
/dports/math/chaco/Chaco-2.2/code/submain/
H A Ddivide.c12 architecture, term_wgts, in divide() argument
26 float *term_wgts[]; /* weights for terminal propogation */
124 coarsen_klv(graph, nvtxs, nedges, using_vwgts, using_ewgts, term_wgts,
144 coarsen_kl(graph, nvtxs, nedges, using_vwgts, using_ewgts, term_wgts,
201 using_vwgts, using_ewgts, term_wgts, igeom, coords,
269 klspiff(graph, nvtxs, assignment, nsets, hop_mtx, goal, term_wgts,
H A Dbalance.c45 float *term_wgts; /* net pull of terminal propogation */ local
238 term_wgts = (float *) smalloc((unsigned)
240 save_term_wgts = term_wgts;
242 all_term_wgts[i] = term_wgts;
243 term_wgts += maxsize + 1;
/dports/math/chaco/Chaco-2.2/code/eigen/
H A Deigensolve.c13 using_vwgts, using_ewgts, term_wgts, igeom, coords, in eigensolve() argument
24 float *term_wgts[]; /* terminal propagation weight vector */
116 if (term_wgts[1] != NULL && ndims == 1) { /* then use lanczos_ext */
140 twptr = term_wgts[1];
/dports/math/chaco/Chaco-2.2/code/misc/
H A Dsequence.c38 float *term_wgts[2]; /* dummy vector for terminal weights */ local
81 term_wgts[1] = NULL;
160 using_vwgts, using_ewgts, term_wgts, 0, (float **) NULL,
H A Dmake_term_props.c15 set_max, subsets, term_wgts, using_ewgts) in make_term_props() argument
28 float *term_wgts[]; /* set of terminal weights for each vertex */
82 twptr = term_wgts[k];
H A Dmake_term_props.old15 set_max, subsets, term_wgts, using_ewgts)
28 float *term_wgts[]; /* set of terminal weights for each vertex */
32 float *twptr; /* one of the term_wgts vectors */
82 twptr = term_wgts[k];
H A Dsequence.old34 float *term_wgts[2]; /* dummy vector for terminal weights */
73 term_wgts[1] = NULL;
150 using_vwgts, using_ewgts, term_wgts, 0, (float **) NULL,