| /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/dm/impls/swarm/ |
| H A D | swarm_migrate.c | 277 Vec npos; in DMSwarmMigrate_CellDMScatter() local 296 PetscCall(VecGetSubVector(pos, nis, &npos)); in DMSwarmMigrate_CellDMScatter() 297 PetscCall(DMLocatePoints(dmcell, npos, DM_POINTLOCATION_NONE, &sfcell)); in DMSwarmMigrate_CellDMScatter() 298 PetscCall(VecRestoreSubVector(pos, nis, &npos)); in DMSwarmMigrate_CellDMScatter() 300 PetscCall(VecCreate(PETSC_COMM_SELF, &npos)); in DMSwarmMigrate_CellDMScatter() 301 PetscCall(VecSetSizes(npos, 0, PETSC_DETERMINE)); in DMSwarmMigrate_CellDMScatter() 302 PetscCall(VecSetBlockSize(npos, bs)); in DMSwarmMigrate_CellDMScatter() 303 PetscCall(VecSetType(npos, dm->vectype)); in DMSwarmMigrate_CellDMScatter() 304 PetscCall(DMLocatePoints(dmcell, npos, DM_POINTLOCATION_NONE, &sfcell)); in DMSwarmMigrate_CellDMScatter() 305 PetscCall(VecDestroy(&npos)); in DMSwarmMigrate_CellDMScatter() [all …]
|
| /petsc/src/ksp/ksp/tests/output/ |
| H A D | ex33.out | 1 MatInertia: nneg: 17, nzero: 0, npos: 83
|
| /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() 644 if (npos < pdipm->Nx + pdipm->Nci) { in PCPostSetUp_PDIPM() 646 …etscInt_FMT "(<%" PetscInt_FMT ")\n", (double)pdipm->deltaw, nneg, nzero, npos, pdipm->Nx + pdipm-… in PCPostSetUp_PDIPM() 650 PetscCall(MatGetInertia(Factor, &nneg, &nzero, &npos)); in PCPostSetUp_PDIPM() 652 if (npos < pdipm->Nx + pdipm->Nci) { in PCPostSetUp_PDIPM() 654 … while (npos < pdipm->Nx + pdipm->Nci && pdipm->deltaw <= 1. / PETSC_SMALL) { /* increase deltaw */ in PCPostSetUp_PDIPM() 655 …etscInt_FMT "(<%" PetscInt_FMT ")\n", (double)pdipm->deltaw, nneg, nzero, npos, pdipm->Nx + pdipm-… in PCPostSetUp_PDIPM() 659 PetscCall(MatGetInertia(Factor, &nneg, &nzero, &npos)); in PCPostSetUp_PDIPM() 676 …zero %" PetscInt_FMT "(!=0), npos %" PetscInt_FMT "\n", (double)pdipm->deltac, nneg, nzero, npos)); in PCPostSetUp_PDIPM() [all …]
|
| /petsc/src/vec/is/is/interface/ |
| H A D | index.c | 41 PetscInt n_n, nlocals, start, first_index, npos, nneg; in ISRenumber() local 64 for (i = 0, npos = 0, nneg = 0; i < n; i++) { in ISRenumber() 71 ilocal[npos++] = i; in ISRenumber() 73 if (npos == n) { in ISRenumber() 115 for (i = 0; i < npos; i++) gidxs[i] = (ilocal ? idxs[ilocal[i]] : idxs[i]) - gbounds[0]; in ISRenumber() 118 PetscCall(PetscSFSetGraphLayout(sf, map, npos, ilocal, PETSC_USE_POINTER, gidxs)); in ISRenumber()
|
| /petsc/src/sys/objects/device/interface/ |
| H A D | mark_dcontext.cxx | 160 if (pos == std::string::npos) pos = in.find("petsc/include"); in split_on_petsc_path_() 161 if (pos == std::string::npos) pos = 0; in split_on_petsc_path_()
|
| /petsc/src/mat/impls/aij/mpi/superlu_dist/ |
| H A D | superlu_dist.c | 404 …c PetscErrorCode MatGetInertia_SuperLU_DIST(Mat F, PetscInt *nneg, PetscInt *nzero, PetscInt *npos) in MatGetInertia_SuperLU_DIST() argument 438 if (npos) *npos = pos; in MatGetInertia_SuperLU_DIST()
|
| /petsc/src/mat/impls/aij/seq/mkl_pardiso/ |
| H A D | mkl_pardiso.c | 819 …ic PetscErrorCode MatGetInertia_MKL_PARDISO(Mat F, PetscInt *nneg, PetscInt *nzero, PetscInt *npos) in MatGetInertia_MKL_PARDISO() argument 825 if (npos) *npos = 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 30 if (npos) *npos = npos_tmp; in MatGetInertia_SeqSBAIJ()
|
| /petsc/src/mat/impls/aij/mpi/mumps/ |
| H A D | mumps.c | 2357 …tic PetscErrorCode MatGetInertia_SBAIJMUMPS(Mat F, PetscInt *nneg, PetscInt *nzero, PetscInt *npos) in MatGetInertia_SBAIJMUMPS() argument 2368 if (nzero || npos) { in MatGetInertia_SBAIJMUMPS() 2371 if (npos) *npos = F->rmap->N - (mumps->id.INFOG(12) + 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()
|