Lines Matching refs:lhs
471 PetscScalar *lhs, *rhs; in det_separators() local
493 lhs = (PetscScalar *)malloc(sizeof(PetscScalar) * m); in det_separators()
497 PetscCall(PCTFS_rvec_zero(lhs, m)); in det_separators()
498 PetscCall(PCTFS_rvec_set(lhs, 1.0, n)); in det_separators()
499 PetscCall(PCTFS_gs_gop_hc(PCTFS_gs_handle, lhs, "+\0", level)); in det_separators()
502 if (lhs[i] != 0.0) { in det_separators()
503 rsum[0] += 1.0 / lhs[i]; in det_separators()
504 rsum[1] += lhs[i]; in det_separators()
520 PetscCall((id < mask) ? PCTFS_rvec_zero(lhs, m) : PCTFS_rvec_set(lhs, 1.0, m)); in det_separators()
521 PetscCall(PCTFS_gs_gop_hc(PCTFS_gs_handle, lhs, "+\0", edge)); in det_separators()
529 if (lhs[i] != 0.0) lhs[i] = 1.0; in det_separators()
536 if (id < mask) PetscCall(PCTFS_gs_gop_hc(PCTFS_gs_handle, lhs, "+\0", edge - 1)); in det_separators()
548 if (lhs[i] != 0.0) { in det_separators()
550 rsum[0] += 1.0 / lhs[i]; in det_separators()
576 if ((!used[i]) && (lhs[i] != 0.0)) { in det_separators()
622 PetscCall((id < mask) ? PCTFS_rvec_zero(lhs, m) : PCTFS_rvec_set(lhs, 1.0, m)); in det_separators()
623 PetscCall(PCTFS_gs_gop_hc(PCTFS_gs_handle, lhs, "+\0", edge)); in det_separators()
636 if ((id < mask) && (lhs[i] != 0.0)) sum[0]++; in det_separators()
651 if ((!used[i]) && (lhs[i] != 0.0)) { in det_separators()
708 free(lhs); in det_separators()