| 321 | // First electric components... |
| 322 | chunks[i]->num_zeroes[ft] = 0; |
| 323 | DOCMP FOR_COMPONENTS(c) { |
| 324 | if (type(c) == ft && chunks[i]->f[c][cmp]) LOOP_OVER_VOL_OWNED(vi, c, n) { |
| 325 | if (IVEC_LOOP_AT_BOUNDARY) { // todo: just loop over boundaries |
| 326 | IVEC_LOOP_ILOC(vi, here); |
| 327 | if (on_metal_boundary(here)) chunks[i]->num_zeroes[ft]++; |
| 328 | } |
| 329 | } |
| 330 | } |
| 331 | typedef realnum *realnum_ptr; |
| 332 | chunks[i]->zeroes[ft] = new realnum_ptr[chunks[i]->num_zeroes[ft]]; |
| 333 | size_t num = 0; |
nothing calls this directly
no test coverage detected