Searched refs:pw (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/ksp/ksp/impls/cg/pipecg2/ |
| H A D | pipecg2.c | 84 PetscScalar *PETSC_RESTRICT px, *PETSC_RESTRICT pr, *PETSC_RESTRICT pz, *PETSC_RESTRICT pw; in VecMergedOpsShort_Private() local 93 PetscCall(VecGetArray(vw, (PetscScalar **)&pw)); in VecMergedOpsShort_Private() 119 ps[j] = pw[j]; in VecMergedOpsShort_Private() 129 pw[j] = pw[j] - alpha0 * pz[j]; in VecMergedOpsShort_Private() 140 ps[j] = pw[j] + beta1 * ps[j]; in VecMergedOpsShort_Private() 148 pw[j] = pw[j] - alpha1 * pz[j]; in VecMergedOpsShort_Private() 153 lambda[1] += pw[j] * PetscConj(pm[j]); in VecMergedOpsShort_Private() 154 lambda[2] += pw[j] * PetscConj(pq[j]); in VecMergedOpsShort_Private() 160 lambda[11] += pw[j] * PetscConj(pu[j]); in VecMergedOpsShort_Private() 174 ps[j] = pw[j]; in VecMergedOpsShort_Private() [all …]
|
| /petsc/src/ksp/pc/impls/tfs/ |
| H A D | gs.c | 1135 PetscInt *pw, *list, *size, **nodes; in PCTFS_gs_gop_vec_pairwise_plus() local 1145 iptr = pw = gs->pw_elm_list; in PCTFS_gs_gop_vec_pairwise_plus() 1206 while (*pw >= 0) { in PCTFS_gs_gop_vec_pairwise_plus() 1207 PetscCall(PCTFS_rvec_copy(in_vals + *pw * step, dptr1, step)); in PCTFS_gs_gop_vec_pairwise_plus() 1209 pw++; in PCTFS_gs_gop_vec_pairwise_plus() 1318 PetscInt *pw, *list, *size, **nodes; in PCTFS_gs_gop_pairwise_plus_hc() local 1333 iptr = pw = gs->pw_elm_list; in PCTFS_gs_gop_pairwise_plus_hc() 1396 while (*pw >= 0) *(in_vals + *pw++) = *dptr1++; in PCTFS_gs_gop_pairwise_plus_hc()
|
| /petsc/src/dm/impls/da/ |
| H A D | dadd.c | 36 PetscInt mw = 0, nw = 0, pw = 0; in DMDACreatePatchIS() local 198 PetscCall(DMDAGetCorners(da, &ms, &ns, &ps, &mw, &nw, &pw)); in DMDACreatePatchIS() 201 if (P > 1) pe = ps + pw; in DMDACreatePatchIS()
|