Lines Matching refs:rhs
54 static PetscErrorCode do_xxt_solve(xxt_ADT xxt_handle, PetscScalar *rhs);
471 PetscScalar *lhs, *rhs; in det_separators() local
494 rhs = (PetscScalar *)malloc(sizeof(PetscScalar) * m); in det_separators()
524 PetscCall((id < mask) ? PCTFS_rvec_set(rhs, 1.0, m) : PCTFS_rvec_zero(rhs, m)); in det_separators()
525 PetscCall(PCTFS_gs_gop_hc(PCTFS_gs_handle, rhs, "+\0", edge)); in det_separators()
532 if (rhs[i] != 0.0) rhs[i] = 1.0; in det_separators()
537 else PetscCall(PCTFS_gs_gop_hc(PCTFS_gs_handle, rhs, "+\0", edge - 1)); in det_separators()
555 if (rhs[i] != 0.0) { in det_separators()
557 rsum[1] += 1.0 / rhs[i]; in det_separators()
596 if ((!used[i]) && (rhs[i] != 0.0)) { in det_separators()
626 PetscCall((id < mask) ? PCTFS_rvec_set(rhs, 1.0, m) : PCTFS_rvec_zero(rhs, m)); in det_separators()
627 PetscCall(PCTFS_gs_gop_hc(PCTFS_gs_handle, rhs, "+\0", edge)); in det_separators()
638 if ((id >= mask) && (rhs[i] != 0.0)) sum[1]++; in det_separators()
667 if ((!used[i]) && (rhs[i] != 0.0)) { in det_separators()
709 free(rhs); in det_separators()