| /petsc/src/mat/impls/baij/seq/ |
| H A D | baijfact11.c | 19 MatScalar *pv, *v, *rtmp, *pc, *w, *x; in MatILUFactorNumeric_SeqBAIJ_4_inplace() local 92 pv = ba + 16 * diag_offset[row]; in MatILUFactorNumeric_SeqBAIJ_4_inplace() 94 x1 = pv[0]; in MatILUFactorNumeric_SeqBAIJ_4_inplace() 95 x2 = pv[1]; in MatILUFactorNumeric_SeqBAIJ_4_inplace() 96 x3 = pv[2]; in MatILUFactorNumeric_SeqBAIJ_4_inplace() 97 x4 = pv[3]; in MatILUFactorNumeric_SeqBAIJ_4_inplace() 98 x5 = pv[4]; in MatILUFactorNumeric_SeqBAIJ_4_inplace() 99 x6 = pv[5]; in MatILUFactorNumeric_SeqBAIJ_4_inplace() 100 x7 = pv[6]; in MatILUFactorNumeric_SeqBAIJ_4_inplace() 101 x8 = pv[7]; in MatILUFactorNumeric_SeqBAIJ_4_inplace() [all …]
|
| H A D | baijfact7.c | 16 MatScalar *pv, *v, *rtmp, *pc, *w, *x; in MatILUFactorNumeric_SeqBAIJ_6_inplace() local 135 pv = ba + 36 * diag_offset[row]; in MatILUFactorNumeric_SeqBAIJ_6_inplace() 137 x1 = pv[0]; in MatILUFactorNumeric_SeqBAIJ_6_inplace() 138 x2 = pv[1]; in MatILUFactorNumeric_SeqBAIJ_6_inplace() 139 x3 = pv[2]; in MatILUFactorNumeric_SeqBAIJ_6_inplace() 140 x4 = pv[3]; in MatILUFactorNumeric_SeqBAIJ_6_inplace() 141 x5 = pv[4]; in MatILUFactorNumeric_SeqBAIJ_6_inplace() 142 x6 = pv[5]; in MatILUFactorNumeric_SeqBAIJ_6_inplace() 143 x7 = pv[6]; in MatILUFactorNumeric_SeqBAIJ_6_inplace() 144 x8 = pv[7]; in MatILUFactorNumeric_SeqBAIJ_6_inplace() [all …]
|
| H A D | baijfact5.c | 16 MatScalar *pv, *v, *rtmp, *pc, *w, *x; in MatILUFactorNumeric_SeqBAIJ_7_inplace() local 165 pv = ba + 49 * diag_offset[row]; in MatILUFactorNumeric_SeqBAIJ_7_inplace() 167 x1 = pv[0]; in MatILUFactorNumeric_SeqBAIJ_7_inplace() 168 x2 = pv[1]; in MatILUFactorNumeric_SeqBAIJ_7_inplace() 169 x3 = pv[2]; in MatILUFactorNumeric_SeqBAIJ_7_inplace() 170 x4 = pv[3]; in MatILUFactorNumeric_SeqBAIJ_7_inplace() 171 x5 = pv[4]; in MatILUFactorNumeric_SeqBAIJ_7_inplace() 172 x6 = pv[5]; in MatILUFactorNumeric_SeqBAIJ_7_inplace() 173 x7 = pv[6]; in MatILUFactorNumeric_SeqBAIJ_7_inplace() 174 x8 = pv[7]; in MatILUFactorNumeric_SeqBAIJ_7_inplace() [all …]
|
| H A D | baijfact13.c | 19 MatScalar *pv, *v, *rtmp, *pc, *w, *x; in MatILUFactorNumeric_SeqBAIJ_3_inplace() local 74 pv = ba + 9 * diag_offset[row]; in MatILUFactorNumeric_SeqBAIJ_3_inplace() 76 x1 = pv[0]; in MatILUFactorNumeric_SeqBAIJ_3_inplace() 77 x2 = pv[1]; in MatILUFactorNumeric_SeqBAIJ_3_inplace() 78 x3 = pv[2]; in MatILUFactorNumeric_SeqBAIJ_3_inplace() 79 x4 = pv[3]; in MatILUFactorNumeric_SeqBAIJ_3_inplace() 80 x5 = pv[4]; in MatILUFactorNumeric_SeqBAIJ_3_inplace() 81 x6 = pv[5]; in MatILUFactorNumeric_SeqBAIJ_3_inplace() 82 x7 = pv[6]; in MatILUFactorNumeric_SeqBAIJ_3_inplace() 83 x8 = pv[7]; in MatILUFactorNumeric_SeqBAIJ_3_inplace() [all …]
|
| H A D | baijfact9.c | 19 MatScalar *w, *pv, *rtmp, *x, *pc; in MatILUFactorNumeric_SeqBAIJ_5_inplace() local 123 pv = ba + 25 * diag_offset[row]; in MatILUFactorNumeric_SeqBAIJ_5_inplace() 125 x1 = pv[0]; in MatILUFactorNumeric_SeqBAIJ_5_inplace() 126 x2 = pv[1]; in MatILUFactorNumeric_SeqBAIJ_5_inplace() 127 x3 = pv[2]; in MatILUFactorNumeric_SeqBAIJ_5_inplace() 128 x4 = pv[3]; in MatILUFactorNumeric_SeqBAIJ_5_inplace() 129 x5 = pv[4]; in MatILUFactorNumeric_SeqBAIJ_5_inplace() 130 x6 = pv[5]; in MatILUFactorNumeric_SeqBAIJ_5_inplace() 131 x7 = pv[6]; in MatILUFactorNumeric_SeqBAIJ_5_inplace() 132 x8 = pv[7]; in MatILUFactorNumeric_SeqBAIJ_5_inplace() [all …]
|
| H A D | baijfact.c | 15 MatScalar *rtmp, *pc, *mwork, *pv; in MatLUFactorNumeric_SeqBAIJ_2() local 62 pv = b->a + bs2 * bdiag[row]; in MatLUFactorNumeric_SeqBAIJ_2() 64 PetscCall(PetscKernel_A_gets_A_times_B_2(pc, pv, mwork)); in MatLUFactorNumeric_SeqBAIJ_2() 67 pv = b->a + bs2 * (bdiag[row + 1] + 1); in MatLUFactorNumeric_SeqBAIJ_2() 73 PetscCall(PetscKernel_A_gets_A_minus_B_times_C_2(v, pc, pv)); in MatLUFactorNumeric_SeqBAIJ_2() 74 pv += 4; in MatLUFactorNumeric_SeqBAIJ_2() 82 pv = b->a + bs2 * bi[i]; in MatLUFactorNumeric_SeqBAIJ_2() 85 … for (PetscInt j = 0; j < nz; j++) PetscCall(PetscArraycpy(pv + bs2 * j, rtmp + bs2 * pj[j], bs2)); in MatLUFactorNumeric_SeqBAIJ_2() 88 pv = b->a + bs2 * bdiag[i]; in MatLUFactorNumeric_SeqBAIJ_2() 90 PetscCall(PetscArraycpy(pv, rtmp + bs2 * pj[0], bs2)); in MatLUFactorNumeric_SeqBAIJ_2() [all …]
|
| H A D | baijfact4.c | 16 MatScalar *ba = b->a, *aa = a->a, *pv, *v, *rtmp, *multiplier, *v_work, *pc, *w; in MatILUFactorNumeric_SeqBAIJ_N_inplace() local 52 pv = ba + bs2 * diag_offset[row]; in MatILUFactorNumeric_SeqBAIJ_N_inplace() 54 PetscKernel_A_gets_A_times_B(bs, pc, pv, multiplier); in MatILUFactorNumeric_SeqBAIJ_N_inplace() 56 pv += bs2; in MatILUFactorNumeric_SeqBAIJ_N_inplace() 57 …j = 0; j < nz; j++) PetscKernel_A_gets_A_minus_B_times_C(bs, rtmp + bs2 * pj[j], pc, pv + bs2 * j); in MatILUFactorNumeric_SeqBAIJ_N_inplace() 63 pv = ba + bs2 * bi[i]; in MatILUFactorNumeric_SeqBAIJ_N_inplace() 66 for (j = 0; j < nz; j++) PetscCall(PetscArraycpy(pv + bs2 * j, rtmp + bs2 * pj[j], bs2)); in MatILUFactorNumeric_SeqBAIJ_N_inplace() 69 w = pv + bs2 * diag; in MatILUFactorNumeric_SeqBAIJ_N_inplace()
|
| H A D | baijfact2.c | 22 MatScalar *rtmp, *pc, *mwork, *pv, *vv, work[225]; in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering() local 67 pv = b->a + bs2 * bdiag[row]; in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering() 68 PetscKernel_A_gets_A_times_B(bs, pc, pv, mwork); in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering() 71 pv = b->a + bs2 * (bdiag[row + 1] + 1); in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering() 75 PetscKernel_A_gets_A_minus_B_times_C(bs, vv, pc, pv); in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering() 77 pv += bs2; in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering() 85 pv = b->a + bs2 * bi[i]; in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering() 88 for (j = 0; j < nz; j++) PetscCall(PetscArraycpy(pv + bs2 * j, rtmp + bs2 * pj[j], bs2)); in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering() 91 pv = b->a + bs2 * bdiag[i]; in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering() 93 PetscCall(PetscArraycpy(pv, rtmp + bs2 * pj[0], bs2)); in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering() [all …]
|
| /petsc/lib/petsc/bin/ |
| H A D | petscnagupgrade.py | 21 def parse_version_h(pv): argument 22 release = int(re.compile(' PETSC_VERSION_RELEASE[ ]*([0-9]*)').search(pv).group(1)) 23 major = int(re.compile(' PETSC_VERSION_MAJOR[ ]*([0-9]*)').search(pv).group(1)) 24 minor = int(re.compile(' PETSC_VERSION_MINOR[ ]*([0-9]*)').search(pv).group(1)) 25 subminor = int(re.compile(' PETSC_VERSION_SUBMINOR[ ]*([0-9]*)').search(pv).group(1)) 34 pv = fd.read() 35 version = parse_version_h(pv) 45 pv = fd.read().decode('utf-8') 47 aversion = parse_version_h(pv)
|
| /petsc/src/binding/petsc4py/src/petsc4py/lib/_pytypes/viewer/ |
| H A D | petscpyvista.py | 1 import pyvista as pv namespace 37 VTK_TYPES[PETSc.DM.PolytopeType.POINT] = pv.CellType.VERTEX 38 VTK_TYPES[PETSc.DM.PolytopeType.SEGMENT] = pv.CellType.LINE 39 VTK_TYPES[PETSc.DM.PolytopeType.TRIANGLE] = pv.CellType.TRIANGLE 40 VTK_TYPES[PETSc.DM.PolytopeType.QUADRILATERAL] = pv.CellType.QUAD 41 VTK_TYPES[PETSc.DM.PolytopeType.TETRAHEDRON] = pv.CellType.TETRA 42 VTK_TYPES[PETSc.DM.PolytopeType.HEXAHEDRON] = pv.CellType.HEXAHEDRON 43 VTK_TYPES[PETSc.DM.PolytopeType.TRI_PRISM] = pv.CellType.WEDGE 44 VTK_TYPES[PETSc.DM.PolytopeType.TRI_PRISM_TENSOR] = pv.CellType.WEDGE 45 VTK_TYPES[PETSc.DM.PolytopeType.QUAD_PRISM_TENSOR] = pv.CellType.HEXAHEDRON [all …]
|
| /petsc/src/vec/vec/impls/hypre/ |
| H A D | vhyp.c | 141 HYPRE_Complex *pv; in VecHYPRE_IJVectorPushVecRead() local 147 …PetscCall(VecGetArrayForHYPRE(v, 0, VecHYPRE_IJVectorMemoryLocation(ij->ij), (PetscScalar **)&pv, … in VecHYPRE_IJVectorPushVecRead() 148 VecHYPRE_ParVectorReplacePointer(ij->ij, pv, ij->hv); in VecHYPRE_IJVectorPushVecRead() 158 HYPRE_Complex *pv; in VecHYPRE_IJVectorPushVecWrite() local 164 …PetscCall(VecGetArrayForHYPRE(v, 1, VecHYPRE_IJVectorMemoryLocation(ij->ij), (PetscScalar **)&pv, … in VecHYPRE_IJVectorPushVecWrite() 165 VecHYPRE_ParVectorReplacePointer(ij->ij, pv, ij->hv); in VecHYPRE_IJVectorPushVecWrite() 175 HYPRE_Complex *pv; in VecHYPRE_IJVectorPushVec() local 181 …PetscCall(VecGetArrayForHYPRE(v, 2, VecHYPRE_IJVectorMemoryLocation(ij->ij), (PetscScalar **)&pv, … in VecHYPRE_IJVectorPushVec() 182 VecHYPRE_ParVectorReplacePointer(ij->ij, pv, ij->hv); in VecHYPRE_IJVectorPushVec() 190 HYPRE_Complex *pv; in VecHYPRE_IJVectorPopVec() local [all …]
|
| /petsc/src/ksp/ksp/utils/lmvm/ |
| H A D | lmvmimpl.c | 311 PetscErrorCode MatView_LMVM(Mat B, PetscViewer pv) in MatView_LMVM() argument 318 PetscCall(PetscObjectTypeCompare((PetscObject)pv, PETSCVIEWERASCII, &isascii)); in MatView_LMVM() 324 PetscCall(PetscViewerASCIIPrintf(pv, "Max. storage: %" PetscInt_FMT "\n", lmvm->m)); in MatView_LMVM() 325 …PetscCall(PetscViewerASCIIPrintf(pv, "Used storage: %" PetscInt_FMT "\n", PetscMin(lmvm->k, lmvm->… in MatView_LMVM() 326 PetscCall(PetscViewerASCIIPrintf(pv, "Number of updates: %" PetscInt_FMT "\n", lmvm->nupdates)); in MatView_LMVM() 327 PetscCall(PetscViewerASCIIPrintf(pv, "Number of rejects: %" PetscInt_FMT "\n", lmvm->nrejects)); in MatView_LMVM() 328 PetscCall(PetscViewerASCIIPrintf(pv, "Number of resets: %" PetscInt_FMT "\n", lmvm->nresets)); in MatView_LMVM() 329 PetscCall(PetscViewerGetFormat(pv, &format)); in MatView_LMVM() 331 …PetscCall(PetscViewerASCIIPrintf(pv, "Mult algorithm: %s\n", MatLMVMMultAlgorithms[lmvm->mult_alg]… in MatView_LMVM() 332 …PetscCall(PetscViewerASCIIPrintf(pv, "Cache J0 products: %s\n", lmvm->do_not_cache_J0_products ? "… in MatView_LMVM() [all …]
|
| /petsc/src/tao/linesearch/impls/armijo/ |
| H A D | armijo.c | 51 static PetscErrorCode TaoLineSearchView_Armijo(TaoLineSearch ls, PetscViewer pv) in TaoLineSearchView_Armijo() argument 57 PetscCall(PetscObjectTypeCompare((PetscObject)pv, PETSCVIEWERASCII, &isascii)); in TaoLineSearchView_Armijo() 59 PetscCall(PetscViewerASCIIPrintf(pv, " Armijo linesearch")); in TaoLineSearchView_Armijo() 60 if (armP->nondescending) PetscCall(PetscViewerASCIIPrintf(pv, " (nondescending)")); in TaoLineSearchView_Armijo() 61 if (ls->bounded) PetscCall(PetscViewerASCIIPrintf(pv, " (projected)")); in TaoLineSearchView_Armijo() 62 …PetscCall(PetscViewerASCIIPrintf(pv, ": alpha=%g beta=%g ", (double)armP->alpha, (double)armP->bet… in TaoLineSearchView_Armijo() 63 PetscCall(PetscViewerASCIIPrintf(pv, "sigma=%g ", (double)armP->sigma)); in TaoLineSearchView_Armijo() 64 PetscCall(PetscViewerASCIIPrintf(pv, "memsize=%" PetscInt_FMT "\n", armP->memorySize)); in TaoLineSearchView_Armijo()
|
| /petsc/src/tao/linesearch/impls/owarmijo/ |
| H A D | owarmijo.c | 67 static PetscErrorCode TaoLineSearchView_OWArmijo(TaoLineSearch ls, PetscViewer pv) in TaoLineSearchView_OWArmijo() argument 73 PetscCall(PetscObjectTypeCompare((PetscObject)pv, PETSCVIEWERASCII, &isascii)); in TaoLineSearchView_OWArmijo() 75 PetscCall(PetscViewerASCIIPrintf(pv, " OWArmijo linesearch")); in TaoLineSearchView_OWArmijo() 76 if (armP->nondescending) PetscCall(PetscViewerASCIIPrintf(pv, " (nondescending)")); in TaoLineSearchView_OWArmijo() 77 …PetscCall(PetscViewerASCIIPrintf(pv, ": alpha=%g beta=%g ", (double)armP->alpha, (double)armP->bet… in TaoLineSearchView_OWArmijo() 78 PetscCall(PetscViewerASCIIPrintf(pv, "sigma=%g ", (double)armP->sigma)); in TaoLineSearchView_OWArmijo() 79 PetscCall(PetscViewerASCIIPrintf(pv, "memsize=%" PetscInt_FMT "\n", armP->memorySize)); in TaoLineSearchView_OWArmijo()
|
| /petsc/src/mat/impls/aij/seq/ |
| H A D | aijfact.c | 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() [all …]
|
| H A D | inode.c | 1207 …MatScalar *pc, *pc1, *pc2, *pc3, *pc4, mul1, mul2, mul3, mul4, *pv, *rtmp1, *rtmp2, *rtmp3, … in MatLUFactorNumeric_SeqAIJ_Inode() local 1321 pv = b->a + bdiag[row]; in MatLUFactorNumeric_SeqAIJ_Inode() 1322 mul1 = *pc * (*pv); in MatLUFactorNumeric_SeqAIJ_Inode() 1325 pv = b->a + bdiag[row + 1] + 1; in MatLUFactorNumeric_SeqAIJ_Inode() 1327 for (j = 0; j < nz; j++) rtmp1[pj[j]] -= mul1 * pv[j]; in MatLUFactorNumeric_SeqAIJ_Inode() 1336 pv = b->a + bi[i]; in MatLUFactorNumeric_SeqAIJ_Inode() 1340 pv[j] = rtmp1[pj[j]]; in MatLUFactorNumeric_SeqAIJ_Inode() 1341 rs += PetscAbsScalar(pv[j]); in MatLUFactorNumeric_SeqAIJ_Inode() 1345 pv = b->a + bdiag[i + 1] + 1; in MatLUFactorNumeric_SeqAIJ_Inode() 1349 pv[j] = rtmp1[pj[j]]; in MatLUFactorNumeric_SeqAIJ_Inode() [all …]
|
| /petsc/src/mat/impls/htool/ |
| H A D | htool.cxx | 295 static PetscErrorCode MatView_Htool(Mat A, PetscViewer pv) in MatView_Htool() argument 305 PetscCall(PetscObjectTypeCompare((PetscObject)pv, PETSCVIEWERASCII, &flg)); in MatView_Htool() 308 …PetscCall(PetscViewerASCIIPrintf(pv, "symmetry: %c\n", a->distributed_operator_holder->block_diago… in MatView_Htool() 311 …PetscCall(PetscViewerASCIIPrintf(pv, "scaling: %g+%gi\n", (double)PetscRealPart(scale), (double)Pe… in MatView_Htool() 313 PetscCall(PetscViewerASCIIPrintf(pv, "scaling: %g\n", (double)scale)); in MatView_Htool() 318 …PetscCall(PetscViewerASCIIPrintf(pv, "shift: %g+%gi\n", (double)PetscRealPart(shift), (double)Pets… in MatView_Htool() 320 PetscCall(PetscViewerASCIIPrintf(pv, "shift: %g\n", (double)shift)); in MatView_Htool() 323 …PetscCall(PetscViewerASCIIPrintf(pv, "maximal cluster leaf size: %" PetscInt_FMT "\n", a->max_clus… in MatView_Htool() 324 PetscCall(PetscViewerASCIIPrintf(pv, "epsilon: %g\n", (double)a->epsilon)); in MatView_Htool() 325 PetscCall(PetscViewerASCIIPrintf(pv, "eta: %g\n", (double)a->eta)); in MatView_Htool() [all …]
|
| /petsc/src/ksp/ksp/utils/lmvm/diagbrdn/ |
| H A D | diagbrdn.c | 76 static PetscErrorCode MatView_DiagBrdn(Mat B, PetscViewer pv) in MatView_DiagBrdn() argument 82 PetscCall(MatView_LMVM(B, pv)); in MatView_DiagBrdn() 83 PetscCall(SymBroydenRescaleView(ldb, pv)); in MatView_DiagBrdn()
|
| /petsc/src/ksp/ksp/utils/lmvm/rescale/ |
| H A D | symbrdnrescale.c | 490 PETSC_INTERN PetscErrorCode SymBroydenRescaleView(SymBroydenRescale ldb, PetscViewer pv) in SymBroydenRescaleView() argument 494 PetscCall(PetscObjectTypeCompare((PetscObject)pv, PETSCVIEWERASCII, &isascii)); in SymBroydenRescaleView() 496 …PetscCall(PetscViewerASCIIPrintf(pv, "Rescale type: %s\n", MatLMVMSymBroydenScaleTypes[ldb->scale_… in SymBroydenRescaleView() 498 … PetscCall(PetscViewerASCIIPrintf(pv, "Rescale history: %" PetscInt_FMT "\n", ldb->sigma_hist)); in SymBroydenRescaleView() 499 …PetscCall(PetscViewerASCIIPrintf(pv, "Rescale params: alpha=%g, beta=%g, rho=%g\n", (double)ldb->a… in SymBroydenRescaleView() 501 …if (ldb->scale_type == MAT_LMVM_SYMBROYDEN_SCALE_DIAGONAL) PetscCall(PetscViewerASCIIPrintf(pv, "R… in SymBroydenRescaleView()
|
| /petsc/include/petsc/private/ |
| H A D | matimpl.h | 770 PetscScalar pv; /* pivot of the active row */ member 795 if (PetscAbsScalar(sctx->pv) <= _zero && !PetscIsNanScalar(sctx->pv)) { in MatPivotCheck_nz() 813 if (PetscRealPart(sctx->pv) <= _zero && !PetscIsNanScalar(sctx->pv)) { in MatPivotCheck_pd() 835 if (PetscAbsScalar(sctx->pv) <= _zero && !PetscIsNanScalar(sctx->pv)) { in MatPivotCheck_inblocks() 836 sctx->pv += info->shiftamount; in MatPivotCheck_inblocks() 850 if (PetscAbsScalar(sctx->pv) <= _zero && !PetscIsNanScalar(sctx->pv)) { in MatPivotCheck_none() 851 …ow %" PetscInt_FMT " value %g tolerance %g", row, (double)PetscAbsScalar(sctx->pv), (double)_zero); in MatPivotCheck_none() 852 …%" PetscInt_FMT " value %g tolerance %g\n", row, (double)PetscAbsScalar(sctx->pv), (double)_zero)); in MatPivotCheck_none() 854 fact->factorerror_zeropivot_value = PetscAbsScalar(sctx->pv); in MatPivotCheck_none()
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/ |
| H A D | _utility.py | 214 with open(petsc_dir/petsc_arch/'lib'/'petsc'/'conf'/'petscvariables', 'r') as pv: 223 for line in pv:
|
| /petsc/src/tao/complementarity/impls/ssls/ |
| H A D | ssls.c | 17 PetscErrorCode TaoView_SSLS(Tao tao, PetscViewer pv) in TaoView_SSLS() argument
|
| /petsc/src/ksp/ksp/utils/lmvm/symbrdn/ |
| H A D | symbrdn.c | 805 static PetscErrorCode MatView_LMVMSymBrdn(Mat B, PetscViewer pv) in MatView_LMVMSymBrdn() argument 812 PetscCall(MatView_LMVM(B, pv)); in MatView_LMVMSymBrdn() 813 PetscCall(PetscObjectTypeCompare((PetscObject)pv, PETSCVIEWERASCII, &isascii)); in MatView_LMVMSymBrdn() 819 …if (lsb->phi_scalar != PETSC_DETERMINE) PetscCall(PetscViewerASCIIPrintf(pv, "Convex factor phi = … in MatView_LMVMSymBrdn() 820 …if (lsb->psi_scalar != PETSC_DETERMINE) PetscCall(PetscViewerASCIIPrintf(pv, "Dual convex factor p… in MatView_LMVMSymBrdn() 823 PetscCall(SymBroydenRescaleView(lsb->rescale, pv)); in MatView_LMVMSymBrdn()
|
| /petsc/src/sys/fileio/ |
| H A D | sysio.c | 410 PetscReal *pv; in PetscBinaryWrite() local 443 pv = (PetscReal *)pp; in PetscBinaryWrite() 444 for (PetscCount i = 0; i < n; i++) ppp[i] = (double)pv[i]; in PetscBinaryWrite()
|
| /petsc/src/mat/impls/sbaij/seq/ |
| H A D | sbaijfact.c | 1295 sctx.pv = dk; in MatCholeskyFactorNumeric_SeqSBAIJ_1_inplace() 1298 dk = sctx.pv; in MatCholeskyFactorNumeric_SeqSBAIJ_1_inplace() 1463 sctx.pv = dk; in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering() 1466 dk = sctx.pv; in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering() 1591 sctx.pv = dk; in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering_inplace() 1594 dk = sctx.pv; in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering_inplace()
|