| /petsc/src/mat/tests/output/ |
| H A D | ex125_superlu_dist.out | 4 MatInertia: nneg: 0, nzero: 0, npos: 36 14 MatInertia: nneg: 0, nzero: 0, npos: 36
|
| H A D | ex127_superlu_dist.out | 1 MatInertia: nneg: 8, nzero: 0, npos: 1
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex33.c | 16 PetscInt nneg, nzero, npos; in main() local 123 PetscCall(MatGetInertia(F, &nneg, &nzero, &npos)); in main() 126 …nneg: %" PetscInt_FMT ", nzero: %" PetscInt_FMT ", npos: %" PetscInt_FMT "\n", nneg, nzero, npos)); in main()
|
| /petsc/src/ksp/ksp/tests/output/ |
| H A D | ex33.out | 1 MatInertia: nneg: 17, nzero: 0, npos: 83
|
| /petsc/src/ksp/pc/impls/svd/ |
| H A D | svd.c | 10 PetscInt nzero; member 103 jac->nzero = n - 1 - i; in PCSetUp_SVD() 106 …MT " singular values are (nearly) zero\n", (double)PetscRealPart(d[0] / d[n - 1]), jac->nzero, n)); in PCSetUp_SVD() 124 for (i = 0; i < n - jac->nzero; i++) d[i] = 1.0 / d[i]; in PCSetUp_SVD() 127 …for (i = 0; i < n - jac->nzero - jac->essrank; i++) d[i] = 0.0; /* Skip all but essrank eigenvalue… in PCSetUp_SVD() 128 …tscCall(PetscInfo(pc, "Number of zero or nearly singular values %" PetscInt_FMT "\n", jac->nzero)); in PCSetUp_SVD()
|
| /petsc/src/mat/tests/ |
| H A D | ex127.c | 110 PetscInt nneg, nzero, npos; in main() local 117 PetscCall(MatGetInertia(F, &nneg, &nzero, &npos)); in main() 118 …nneg: %" PetscInt_FMT ", nzero: %" PetscInt_FMT ", npos: %" PetscInt_FMT "\n", nneg, nzero, npos)); in main()
|
| H A D | ex125.c | 365 PetscInt nneg, nzero, npos; in main() local 376 PetscCall(MatGetInertia(F, &nneg, &nzero, &npos)); in main() 377 …nneg: %" PetscInt_FMT ", nzero: %" PetscInt_FMT ", npos: %" PetscInt_FMT "\n", nneg, nzero, npos)); in main()
|
| /petsc/src/tao/constrained/impls/ipm/ |
| H A D | pdipm.c | 627 PetscInt nneg, nzero, npos; in PCPostSetUp_PDIPM() local 642 PetscCall(MatGetInertia(Factor, &nneg, &nzero, &npos)); in PCPostSetUp_PDIPM() 646 …os %" PetscInt_FMT "(<%" PetscInt_FMT ")\n", (double)pdipm->deltaw, nneg, nzero, npos, pdipm->Nx +… in PCPostSetUp_PDIPM() 650 PetscCall(MatGetInertia(Factor, &nneg, &nzero, &npos)); in PCPostSetUp_PDIPM() 655 …os %" PetscInt_FMT "(<%" PetscInt_FMT ")\n", (double)pdipm->deltaw, nneg, nzero, npos, pdipm->Nx +… in PCPostSetUp_PDIPM() 659 PetscCall(MatGetInertia(Factor, &nneg, &nzero, &npos)); in PCPostSetUp_PDIPM() 670 if (nzero) { /* Jacobian is singular */ in PCPostSetUp_PDIPM() 676 …zero %" PetscInt_FMT "(!=0), npos %" PetscInt_FMT "\n", (double)pdipm->deltac, nneg, nzero, npos)); in PCPostSetUp_PDIPM() 680 PetscCall(MatGetInertia(Factor, &nneg, &nzero, &npos)); in PCPostSetUp_PDIPM()
|
| /petsc/src/mat/impls/aij/mpi/superlu_dist/ |
| H A D | superlu_dist.c | 404 static PetscErrorCode MatGetInertia_SuperLU_DIST(Mat F, PetscInt *nneg, PetscInt *nzero, PetscInt *… in MatGetInertia_SuperLU_DIST() argument 437 if (nzero) *nzero = zero; in MatGetInertia_SuperLU_DIST()
|
| /petsc/src/mat/impls/aij/seq/mkl_pardiso/ |
| H A D | mkl_pardiso.c | 819 static PetscErrorCode MatGetInertia_MKL_PARDISO(Mat F, PetscInt *nneg, PetscInt *nzero, PetscInt *n… in MatGetInertia_MKL_PARDISO() argument 826 if (nzero) *nzero = F->rmap->N - (mat_mkl_pardiso->iparm[22] + mat_mkl_pardiso->iparm[21]); in MatGetInertia_MKL_PARDISO()
|
| /petsc/src/mat/impls/sbaij/seq/ |
| H A D | sbaijfact.c | 6 PetscErrorCode MatGetInertia_SeqSBAIJ(Mat F, PetscInt *nneg, PetscInt *nzero, PetscInt *npos) in MatGetInertia_SeqSBAIJ() argument 31 if (nzero) *nzero = mbs - nneg_tmp - npos_tmp; in MatGetInertia_SeqSBAIJ()
|
| /petsc/src/mat/impls/aij/mpi/mumps/ |
| H A D | mumps.c | 2357 static PetscErrorCode MatGetInertia_SBAIJMUMPS(Mat F, PetscInt *nneg, PetscInt *nzero, PetscInt *np… in MatGetInertia_SBAIJMUMPS() argument 2368 if (nzero || npos) { in MatGetInertia_SBAIJMUMPS() 2370 if (nzero) *nzero = mumps->id.INFOG(28); in MatGetInertia_SBAIJMUMPS()
|
| /petsc/src/mat/interface/ |
| H A D | matrix.c | 9294 PetscErrorCode MatGetInertia(Mat mat, PetscInt *nneg, PetscInt *nzero, PetscInt *npos) in MatGetInertia() argument 9301 PetscUseTypeMethod(mat, getinertia, nneg, nzero, npos); in MatGetInertia()
|