Lines Matching refs:pv

227   MatScalar       *rtmp, *pc, multiplier, *pv;  in MatLUFactorNumeric_SeqAIJ()  local
294 pv = ba + bdiag[row]; in MatLUFactorNumeric_SeqAIJ()
295 multiplier = *pc * (*pv); in MatLUFactorNumeric_SeqAIJ()
299 pv = ba + bdiag[row + 1] + 1; in MatLUFactorNumeric_SeqAIJ()
302 for (j = 0; j < nz; j++) rtmp[pj[j]] -= multiplier * pv[j]; in MatLUFactorNumeric_SeqAIJ()
311 pv = ba + bi[i]; in MatLUFactorNumeric_SeqAIJ()
315 pv[j] = rtmp[pj[j]]; in MatLUFactorNumeric_SeqAIJ()
316 rs += PetscAbsScalar(pv[j]); in MatLUFactorNumeric_SeqAIJ()
320 pv = ba + bdiag[i + 1] + 1; in MatLUFactorNumeric_SeqAIJ()
324 pv[j] = rtmp[pj[j]]; in MatLUFactorNumeric_SeqAIJ()
325 rs += PetscAbsScalar(pv[j]); in MatLUFactorNumeric_SeqAIJ()
329 sctx.pv = rtmp[i]; in MatLUFactorNumeric_SeqAIJ()
332 rtmp[i] = sctx.pv; /* sctx.pv might be updated in the case of MAT_SHIFT_INBLOCKS */ in MatLUFactorNumeric_SeqAIJ()
335 pv = ba + bdiag[i]; in MatLUFactorNumeric_SeqAIJ()
336 *pv = 1.0 / rtmp[i]; in MatLUFactorNumeric_SeqAIJ()
406 MatScalar *pv, *rtmp, *pc, multiplier, d; in MatLUFactorNumeric_SeqAIJ_inplace() local
462 pv = ba + ddiag[row]; in MatLUFactorNumeric_SeqAIJ_inplace()
464 multiplier = *pc / *pv++; in MatLUFactorNumeric_SeqAIJ_inplace()
467 for (j = 0; j < nz; j++) rtmp[pj[j]] -= multiplier * pv[j]; in MatLUFactorNumeric_SeqAIJ_inplace()
473 pv = ba + bi[i]; in MatLUFactorNumeric_SeqAIJ_inplace()
479 pv[j] = rtmp[pj[j]]; in MatLUFactorNumeric_SeqAIJ_inplace()
480 rs += PetscAbsScalar(pv[j]); in MatLUFactorNumeric_SeqAIJ_inplace()
482 rs -= PetscAbsScalar(pv[diag]); in MatLUFactorNumeric_SeqAIJ_inplace()
485 sctx.pv = pv[diag]; in MatLUFactorNumeric_SeqAIJ_inplace()
488 pv[diag] = sctx.pv; in MatLUFactorNumeric_SeqAIJ_inplace()
564 MatScalar *pv, *v; in MatLUFactorNumeric_SeqAIJ_InplaceWithPerm() local
655 pv = aa + diag[r[row]]; in MatLUFactorNumeric_SeqAIJ_InplaceWithPerm()
658 multiplier = *pc / *pv++; in MatLUFactorNumeric_SeqAIJ_InplaceWithPerm()
661 for (j = 0; j < nz; j++) rtmp[pj[j]] -= multiplier * pv[j]; in MatLUFactorNumeric_SeqAIJ_InplaceWithPerm()
667 pv = aa + ai[r[i]]; in MatLUFactorNumeric_SeqAIJ_InplaceWithPerm()
674 pv[j] = rtmp[pj[j]]; in MatLUFactorNumeric_SeqAIJ_InplaceWithPerm()
675 if (j != nbdiag) rs += PetscAbsScalar(pv[j]); in MatLUFactorNumeric_SeqAIJ_InplaceWithPerm()
679 sctx.pv = pv[nbdiag]; in MatLUFactorNumeric_SeqAIJ_InplaceWithPerm()
682 pv[nbdiag] = sctx.pv; in MatLUFactorNumeric_SeqAIJ_InplaceWithPerm()
1825 sctx.pv = dk; in MatCholeskyFactorNumeric_SeqAIJ()
1828 dk = sctx.pv; in MatCholeskyFactorNumeric_SeqAIJ()
1979 sctx.pv = dk; in MatCholeskyFactorNumeric_SeqAIJ_inplace()
1982 dk = sctx.pv; in MatCholeskyFactorNumeric_SeqAIJ_inplace()