Lines Matching refs:kk
156 …PetscInt *counts, *newproc_idx, ii, jj, kk, strideNew, *tidx, ncrs_new, ncrs_eq_new, nloc_old, exp… in PCGAMGCreateLevel_GAMG() local
168 for (kk = 1; kk <= size; kk++) { in PCGAMGCreateLevel_GAMG()
169 if (!(size % kk)) { /* a candidate */ in PCGAMGCreateLevel_GAMG()
170 PetscReal nactpe = (PetscReal)size / (PetscReal)kk, fact = nactpe / (PetscReal)new_size; in PCGAMGCreateLevel_GAMG()
174 jj = kk; in PCGAMGCreateLevel_GAMG()
286 for (kk = jj = 0; kk < nloc_old; kk++) { in PCGAMGCreateLevel_GAMG()
287 …for (ii = 0; ii < cr_bs; ii++, jj++) newproc_idx[jj] = is_idx[kk] * expand_factor; /* distribution… in PCGAMGCreateLevel_GAMG()
355 for (kk = 0; kk < node_data_sz; kk++, jj++) tidx[jj] = id * node_data_sz + kk; in PCGAMGCreateLevel_GAMG()
367 for (kk = 0; kk < ndata_rows; kk++) { in PCGAMGCreateLevel_GAMG()
368 …PetscInt ix = ii * ndata_rows + kk + jj * stride0, jx = ii * node_data_sz + kk * ndata_cols + j… in PCGAMGCreateLevel_GAMG()
398 for (kk = 0; kk < ndata_rows; kk++) { in PCGAMGCreateLevel_GAMG()
399 …PetscInt ix = ii * ndata_rows + kk + jj * strideNew, jx = ii * node_data_sz + kk * ndata_cols + jj; in PCGAMGCreateLevel_GAMG()
720 …for (PetscInt kk = 0; kk < pc_gamg->injection_index_size; kk++, nn++) pc_gamg->data[idx + kk] = (j… in PCSetUp_GAMG() local
874 PetscInt kk; in PCSetUp_GAMG() local
876 for (kk = 0; kk < sz; kk++) PetscCall(ISDestroy(&iss[kk])); in PCSetUp_GAMG()