| /petsc/src/mat/tests/ |
| H A D | ex28.c | 16 char solvertype[64]; in main() local 60 PetscCall(PetscStrncpy(solvertype, "petsc", sizeof(solvertype))); in main() 61 …PetscCall(PetscOptionsGetString(NULL, NULL, "-mat_solver_type", solvertype, sizeof(solvertype), NU… in main() 64 PetscCall(MatGetFactor(A[0], solvertype, facttype, &F)); in main() 68 PetscCall(PetscStrtoupper(solvertype)); in main() 70 PetscCall(PetscPrintf(PETSC_COMM_WORLD, " %s %s:\n", solvertype, factortype)); in main()
|
| /petsc/src/ksp/pc/impls/factor/ |
| H A D | factimpl.c | 9 if (!icc->fact) PetscCall(MatGetFactor(pc->pmat, icc->solvertype, icc->factortype, &icc->fact)); in PCFactorSetUpMatSolverType_Factor() 11 MatFactorTypes[icc->factortype], ((PetscObject)pc->pmat)->type_name, icc->solvertype); in PCFactorSetUpMatSolverType_Factor() 190 PetscCall(PetscFree(lu->solvertype)); in PCFactorSetMatSolverType_Factor() 191 PetscCall(PetscStrallocpy(stype, &lu->solvertype)); in PCFactorSetMatSolverType_Factor() 200 *stype = lu->solvertype; in PCFactorGetMatSolverType_Factor() 218 char tname[256], solvertype[64]; in PCSetFromOptions_Factor() local 245 …Specific direct solver to use", "MatGetFactor", factor->solvertype, solvertype, sizeof(solvertype)… in PCSetFromOptions_Factor() 246 if (flg) PetscCall(PCFactorSetMatSolverType(pc, solvertype)); in PCSetFromOptions_Factor() 299 … PetscCall(PetscViewerASCIIPrintf(viewer, " matrix solver type: %s\n", factor->fact->solvertype)); in PCView_Factor()
|
| H A D | factor.c | 17 …PetscCall(MatSolverTypeGet(fact->solvertype, ((PetscObject)pc->pmat)->type_name, fact->factortype,… in PCFactorSetDefaultOrdering_Factor() 22 PetscCall(MatGetFactor(pc->pmat, fact->solvertype, fact->factortype, &fact->fact)); in PCFactorSetDefaultOrdering_Factor() 27 PetscCall(PetscStrcmp(fact->solvertype, fact->fact->solvertype, &flg)); in PCFactorSetDefaultOrdering_Factor() 30 PetscCall(MatGetFactor(pc->pmat, fact->solvertype, fact->factortype, &B)); in PCFactorSetDefaultOrdering_Factor()
|
| H A D | factor.h | 12 char *solvertype; member
|
| /petsc/src/mat/impls/aij/seq/cholmod/ |
| H A D | aijcholmod.c | 92 PetscCall(PetscFree(B->solvertype)); in MatGetFactor_seqaij_cholmod() 93 PetscCall(PetscStrallocpy(MATSOLVERCHOLMOD, &B->solvertype)); in MatGetFactor_seqaij_cholmod()
|
| /petsc/src/mat/impls/aij/seq/essl/ |
| H A D | essl.c | 148 PetscCall(PetscFree(B->solvertype)); in MatGetFactor_seqaij_essl() 149 PetscCall(PetscStrallocpy(MATSOLVERESSL, &B->solvertype)); in MatGetFactor_seqaij_essl()
|
| /petsc/src/ksp/pc/impls/factor/qr/ |
| H A D | qr.c | 39 …tor *)dir)->fact) PetscCall(MatGetFactor(pc->pmat, ((PC_Factor *)dir)->solvertype, MAT_FACTOR_QR, … in PCSetUp_QR() 89 PetscCall(PetscFree(((PC_Factor *)dir)->solvertype)); in PCDestroy_QR()
|
| /petsc/src/mat/impls/aij/seq/bas/ |
| H A D | basfactor.c | 196 PetscCall(PetscFree((*B)->solvertype)); in MatGetFactor_seqaij_bas() 197 PetscCall(PetscStrallocpy(MATSOLVERBAS, &(*B)->solvertype)); in MatGetFactor_seqaij_bas()
|
| /petsc/src/mat/impls/aij/seq/matlab/ |
| H A D | aijmatlab.c | 204 PetscCall(PetscFree((*F)->solvertype)); in MatGetFactor_seqaij_matlab() 205 PetscCall(PetscStrallocpy(MATSOLVERMATLAB, &(*F)->solvertype)); in MatGetFactor_seqaij_matlab()
|
| /petsc/src/mat/impls/aij/seq/lusol/ |
| H A D | lusol.c | 400 PetscCall(PetscFree(B->solvertype)); in MatGetFactor_seqaij_lusol() 401 PetscCall(PetscStrallocpy(MATSOLVERLUSOL, &B->solvertype)); in MatGetFactor_seqaij_lusol()
|
| /petsc/src/mat/impls/aij/seq/klu/ |
| H A D | klu.c | 289 PetscCall(PetscFree(B->solvertype)); in MatGetFactor_seqaij_klu() 290 PetscCall(PetscStrallocpy(MATSOLVERKLU, &B->solvertype)); in MatGetFactor_seqaij_klu()
|
| /petsc/src/mat/impls/aij/seq/spqr/ |
| H A D | aijspqr.c | 338 PetscCall(PetscFree(B->solvertype)); in MatGetFactor_seqaij_spqr() 339 PetscCall(PetscStrallocpy(MATSOLVERCHOLMOD, &B->solvertype)); in MatGetFactor_seqaij_spqr()
|
| /petsc/src/mat/impls/cdiagonal/ |
| H A D | cdiagonal.c | 457 PetscCall(PetscFree((*B)->solvertype)); in MatGetFactor_constantdiagonal_petsc() 458 PetscCall(PetscStrallocpy(MATSOLVERPETSC, &(*B)->solvertype)); in MatGetFactor_constantdiagonal_petsc()
|
| /petsc/src/mat/impls/aij/mpi/pastix/ |
| H A D | pastix.c | 437 PetscCall(PetscFree(B->solvertype)); in MatGetFactor_pastix() 438 PetscCall(PetscStrallocpy(MATSOLVERPASTIX, &B->solvertype)); in MatGetFactor_pastix()
|
| /petsc/src/ksp/pc/impls/factor/icc/ |
| H A D | icc.c | 82 PetscCall(PetscFree(((PC_Factor *)icc)->solvertype)); in PCDestroy_ICC()
|
| /petsc/src/mat/impls/elemental/ |
| H A D | matelem.cxx | 687 PetscCall(PetscFree(A->solvertype)); in MatLUFactor_Elemental() 688 PetscCall(PetscStrallocpy(MATSOLVERELEMENTAL, &A->solvertype)); in MatLUFactor_Elemental() 717 PetscCall(PetscFree(A->solvertype)); in MatCholeskyFactor_Elemental() 718 PetscCall(PetscStrallocpy(MATSOLVERELEMENTAL, &A->solvertype)); in MatCholeskyFactor_Elemental() 756 PetscCall(PetscFree(B->solvertype)); in MatGetFactor_elemental_elemental() 757 PetscCall(PetscStrallocpy(MATSOLVERELEMENTAL, &B->solvertype)); in MatGetFactor_elemental_elemental()
|
| /petsc/src/mat/impls/aij/seq/umfpack/ |
| H A D | umfpack.c | 433 PetscCall(PetscFree(B->solvertype)); in MatGetFactor_seqaij_umfpack() 434 PetscCall(PetscStrallocpy(MATSOLVERUMFPACK, &B->solvertype)); in MatGetFactor_seqaij_umfpack()
|
| /petsc/src/mat/impls/sbaij/seq/cholmod/ |
| H A D | sbaijcholmod.c | 573 PetscCall(PetscFree(B->solvertype)); in MatGetFactor_seqsbaij_cholmod() 574 PetscCall(PetscStrallocpy(MATSOLVERCHOLMOD, &B->solvertype)); in MatGetFactor_seqsbaij_cholmod()
|
| /petsc/src/ksp/pc/impls/factor/lu/ |
| H A D | lu.c | 164 PetscCall(PetscFree(((PC_Factor *)dir)->solvertype)); in PCDestroy_LU()
|
| /petsc/src/ksp/pc/impls/factor/cholesky/ |
| H A D | cholesky.c | 170 PetscCall(PetscFree(((PC_Factor *)dir)->solvertype)); in PCDestroy_Cholesky()
|
| /petsc/src/ksp/pc/impls/factor/ilu/ |
| H A D | ilu.c | 185 PetscCall(PetscFree(((PC_Factor *)ilu)->solvertype)); in PCDestroy_ILU()
|
| /petsc/src/mat/impls/scalapack/ |
| H A D | matscalapack.c | 821 PetscCall(PetscFree(A->solvertype)); in MatLUFactor_ScaLAPACK() 822 PetscCall(PetscStrallocpy(MATSOLVERSCALAPACK, &A->solvertype)); in MatLUFactor_ScaLAPACK() 852 PetscCall(PetscFree(A->solvertype)); in MatCholeskyFactor_ScaLAPACK() 853 PetscCall(PetscStrallocpy(MATSOLVERSCALAPACK, &A->solvertype)); in MatCholeskyFactor_ScaLAPACK() 889 PetscCall(PetscFree(B->solvertype)); in MatGetFactor_scalapack_scalapack() 890 PetscCall(PetscStrallocpy(MATSOLVERSCALAPACK, &B->solvertype)); in MatGetFactor_scalapack_scalapack()
|
| /petsc/src/mat/impls/aij/seq/superlu/ |
| H A D | superlu.c | 555 PetscCall(PetscFree(B->solvertype)); in MatGetFactor_seqaij_superlu() 556 PetscCall(PetscStrallocpy(MATSOLVERSUPERLU, &B->solvertype)); in MatGetFactor_seqaij_superlu()
|
| /petsc/src/mat/impls/aij/mpi/mkl_cpardiso/ |
| H A D | mkl_cpardiso.c | 901 PetscCall(PetscFree(B->solvertype)); in MatGetFactor_mpiaij_mkl_cpardiso() 902 PetscCall(PetscStrallocpy(MATSOLVERMKL_CPARDISO, &B->solvertype)); in MatGetFactor_mpiaij_mkl_cpardiso()
|
| /petsc/src/mat/impls/aij/mpi/strumpack/ |
| H A D | strumpack.c | 1132 PetscCall(PetscFree(B->solvertype)); in MatGetFactor_aij_strumpack() 1133 PetscCall(PetscStrallocpy(MATSOLVERSTRUMPACK, &B->solvertype)); in MatGetFactor_aij_strumpack()
|