| /petsc/src/mat/tests/ |
| H A D | ex28.c | 17 char factortype[64]; in main() local 67 PetscCall(PetscStrncpy(factortype, MatFactorTypes[facttype], sizeof(factortype))); in main() 69 PetscCall(PetscStrtoupper(factortype)); in main() 70 PetscCall(PetscPrintf(PETSC_COMM_WORLD, " %s %s:\n", solvertype, factortype)); in main() 89 SETERRQ(PETSC_COMM_WORLD, PETSC_ERR_SUP, "Not for factor type %s", factortype); in main() 104 SETERRQ(PETSC_COMM_WORLD, PETSC_ERR_SUP, "Not for factor type %s", factortype); in main() 114 …_WORLD, "%" PetscInt_FMT "-the %s numfact and solve: residual %g\n", k, factortype, (double)norm)); in main()
|
| /petsc/src/ksp/pc/impls/factor/ |
| H A D | factor.c | 17 …verTypeGet(fact->solvertype, ((PetscObject)pc->pmat)->type_name, fact->factortype, NULL, &foundmty… in PCFactorSetDefaultOrdering_Factor() 22 PetscCall(MatGetFactor(pc->pmat, fact->solvertype, fact->factortype, &fact->fact)); in PCFactorSetDefaultOrdering_Factor() 30 PetscCall(MatGetFactor(pc->pmat, fact->solvertype, fact->factortype, &B)); in PCFactorSetDefaultOrdering_Factor() 39 …if (canuseordering) PetscCall(MatFactorGetPreferredOrdering(fact->fact, fact->factortype, &otype)); in PCFactorSetDefaultOrdering_Factor() 697 fact->factortype = ftype; in PCFactorInitialize()
|
| 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() 276 if (factor->factortype == MAT_FACTOR_ILU || factor->factortype == MAT_FACTOR_ICC) { in PCView_Factor()
|
| H A D | factor.h | 13 MatFactorType factortype; member
|
| /petsc/src/mat/interface/ |
| H A D | matrix.c | 313 …PetscCheck(!mat->factortype, PetscObjectComm((PetscObject)mat), PETSC_ERR_ARG_WRONGSTATE, "Not for… in MatFindNonzeroRows() 385 …PetscCheck(!A->factortype, PetscObjectComm((PetscObject)A), PETSC_ERR_ARG_WRONGSTATE, "Not for fac… in MatGetDiagonalBlock() 444 …PetscCheck(!mat->factortype, PetscObjectComm((PetscObject)mat), PETSC_ERR_ARG_WRONGSTATE, "Not for… in MatRealPart() 475 …PetscCheck(!mat->factortype, PetscObjectComm((PetscObject)mat), PETSC_ERR_ARG_WRONGSTATE, "Not for… in MatGetGhosts() 502 …PetscCheck(!mat->factortype, PetscObjectComm((PetscObject)mat), PETSC_ERR_ARG_WRONGSTATE, "Not for… in MatImaginaryPart() 569 …PetscCheck(!mat->factortype, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Not for factored matrix"); in MatGetRow() 667 …PetscCheck(!mat->factortype, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Not for factored matrix"); in MatGetRowUpperTriangular() 694 …PetscCheck(!mat->factortype, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Not for factored matrix"); in MatRestoreRowUpperTriangular() 1139 …EWER_ASCII_INFO || format == PETSC_VIEWER_ASCII_INFO_DETAIL)) || !mat->factortype, PetscObjectComm… in MatView() 1170 if (mat->factortype) { in MatView() [all …]
|
| H A D | matproduct.c | 1077 …PetscCheck(!A->factortype, PetscObjectComm((PetscObject)A), PETSC_ERR_ARG_WRONGSTATE, "Not for fac… in MatProductCreateWithMat() 1083 …PetscCheck(!B->factortype, PetscObjectComm((PetscObject)B), PETSC_ERR_ARG_WRONGSTATE, "Not for fac… in MatProductCreateWithMat() 1090 …PetscCheck(!C->factortype, PetscObjectComm((PetscObject)C), PETSC_ERR_ARG_WRONGSTATE, "Not for fac… in MatProductCreateWithMat() 1097 …PetscCheck(!D->factortype, PetscObjectComm((PetscObject)D), PETSC_ERR_ARG_WRONGSTATE, "Not for fac… in MatProductCreateWithMat() 1160 …PetscCheck(!A->factortype, PetscObjectComm((PetscObject)A), PETSC_ERR_ARG_WRONGSTATE, "Not for fac… in MatProductCreate() 1161 …PetscCheck(!B->factortype, PetscObjectComm((PetscObject)B), PETSC_ERR_ARG_WRONGSTATE, "Not for fac… in MatProductCreate() 1166 …PetscCheck(!C->factortype, PetscObjectComm((PetscObject)C), PETSC_ERR_ARG_WRONGSTATE, "Not for fac… in MatProductCreate()
|
| /petsc/src/mat/impls/baij/seq/ |
| H A D | baijfact4.c | 21 A->factortype = MAT_FACTOR_NONE; in MatILUFactorNumeric_SeqBAIJ_N_inplace() 23 A->factortype = MAT_FACTOR_ILU; in MatILUFactorNumeric_SeqBAIJ_N_inplace()
|
| H A D | baijfact13.c | 28 A->factortype = MAT_FACTOR_NONE; in MatILUFactorNumeric_SeqBAIJ_3_inplace() 30 A->factortype = MAT_FACTOR_ILU; in MatILUFactorNumeric_SeqBAIJ_3_inplace() 288 A->factortype = MAT_FACTOR_NONE; in MatILUFactorNumeric_SeqBAIJ_3_NaturalOrdering_inplace() 290 A->factortype = MAT_FACTOR_ILU; in MatILUFactorNumeric_SeqBAIJ_3_NaturalOrdering_inplace()
|
| H A D | baijfact.c | 241 A->factortype = MAT_FACTOR_NONE; in MatILUFactorNumeric_SeqBAIJ_2_inplace() 243 A->factortype = MAT_FACTOR_ILU; in MatILUFactorNumeric_SeqBAIJ_2_inplace() 352 A->factortype = MAT_FACTOR_NONE; in MatILUFactorNumeric_SeqBAIJ_2_NaturalOrdering_inplace() 354 A->factortype = MAT_FACTOR_ILU; in MatILUFactorNumeric_SeqBAIJ_2_NaturalOrdering_inplace() 628 A->factortype = MAT_FACTOR_NONE; in MatILUFactorNumeric_SeqBAIJ_1_inplace() 630 A->factortype = MAT_FACTOR_ILU; in MatILUFactorNumeric_SeqBAIJ_1_inplace() 721 (*B)->factortype = ftype; in MatGetFactor_seqbaij_petsc() 1068 B->factortype = MAT_FACTOR_NONE; in MatICCFactorSymbolic_SeqBAIJ() 1072 B->factortype = MAT_FACTOR_ICC; in MatICCFactorSymbolic_SeqBAIJ()
|
| H A D | baijfact11.c | 31 A->factortype = MAT_FACTOR_NONE; in MatILUFactorNumeric_SeqBAIJ_4_inplace() 33 A->factortype = MAT_FACTOR_ILU; in MatILUFactorNumeric_SeqBAIJ_4_inplace() 362 A->factortype = MAT_FACTOR_NONE; in MatILUFactorNumeric_SeqBAIJ_4_NaturalOrdering_inplace() 364 A->factortype = MAT_FACTOR_ILU; in MatILUFactorNumeric_SeqBAIJ_4_NaturalOrdering_inplace()
|
| /petsc/src/mat/impls/aij/seq/matlab/ |
| H A D | aijmatlab.c | 126 if (F->factortype == MAT_FACTOR_ILU || info->dt > 0) { in MatLUFactorNumeric_Matlab() 130 F->factortype = MAT_FACTOR_LU; in MatLUFactorNumeric_Matlab() 203 (*F)->factortype = ftype; in MatGetFactor_seqaij_matlab()
|
| /petsc/src/mat/impls/aij/seq/superlu/ |
| H A D | superlu.c | 80 if (A->factortype == MAT_FACTOR_ILU) { in MatView_Info_SuperLU() 137 if (A->factortype == MAT_FACTOR_LU) { in MatSolve_SuperLU_Private() 151 } else if (A->factortype == MAT_FACTOR_ILU) { in MatSolve_SuperLU_Private() 275 if (F->factortype == MAT_FACTOR_LU) { in MatLUFactorNumeric_SuperLU() 289 } else if (F->factortype == MAT_FACTOR_ILU) { in MatLUFactorNumeric_SuperLU() 561 B->factortype = ftype; in MatGetFactor_seqaij_superlu()
|
| /petsc/src/mat/graphops/partition/ |
| H A D | partition.c | 266 …PetscCheck(!matp->adj->factortype, PetscObjectComm((PetscObject)matp), PETSC_ERR_ARG_WRONGSTATE, "… in MatPartitioningApplyND() 307 …PetscCheck(!matp->adj->factortype, PetscObjectComm((PetscObject)matp), PETSC_ERR_ARG_WRONGSTATE, "… in MatPartitioningApply() 353 …PetscCheck(!matp->adj->factortype, PetscObjectComm((PetscObject)matp), PETSC_ERR_ARG_WRONGSTATE, "… in MatPartitioningImprove()
|
| /petsc/src/mat/impls/aij/seq/cholmod/ |
| H A D | aijcholmod.c | 88 B->factortype = MAT_FACTOR_CHOLESKY; in MatGetFactor_seqaij_cholmod()
|
| /petsc/src/mat/impls/aij/seq/mkl_pardiso/ |
| H A D | mkl_pardiso.c | 798 if (F->factortype == MAT_FACTOR_LU) F->ops->lufactornumeric = MatFactorNumeric_MKL_PARDISO; in MatFactorSymbolic_AIJMKL_PARDISO_Private() 804 …if (F->factortype == MAT_FACTOR_LU || (!PetscDefined(USE_COMPLEX) && F->factortype == MAT_FACTOR_C… in MatFactorSymbolic_AIJMKL_PARDISO_Private() 1014 B->factortype = MAT_FACTOR_LU; in MatGetFactor_aij_mkl_pardiso() 1029 B->factortype = MAT_FACTOR_CHOLESKY; in MatGetFactor_aij_mkl_pardiso() 1047 B->factortype = ftype; in MatGetFactor_aij_mkl_pardiso()
|
| /petsc/src/mat/impls/aij/seq/essl/ |
| H A D | essl.c | 146 B->factortype = MAT_FACTOR_LU; in MatGetFactor_seqaij_essl()
|
| /petsc/src/mat/impls/cdiagonal/ |
| H A D | cdiagonal.c | 274 if (A->factortype) { in MatGetInfo_ConstantDiagonal() 445 (*B)->factortype = ftype; in MatGetFactor_constantdiagonal_petsc()
|
| /petsc/src/mat/impls/elemental/ |
| H A D | matelem.cxx | 43 if (A->factortype == MAT_FACTOR_NONE) { in MatView_Elemental() 597 switch (A->factortype) { in MatSolve_Elemental() 647 switch (A->factortype) { in MatMatSolve_Elemental() 684 A->factortype = MAT_FACTOR_LU; in MatLUFactor_Elemental() 714 A->factortype = MAT_FACTOR_CHOLESKY; in MatCholeskyFactor_Elemental() 754 B->factortype = ftype; in MatGetFactor_elemental_elemental()
|
| /petsc/src/mat/impls/dense/mpi/ |
| H A D | mmdense.c | 280 submats[i]->factortype = C->factortype; in MatCreateSubMatrices_MPIDense_Local()
|
| /petsc/src/mat/graphops/order/ |
| H A D | sorder.c | 160 …PetscCheck(!mat->factortype, PetscObjectComm((PetscObject)mat), PETSC_ERR_ARG_WRONGSTATE, "Not for… in MatGetOrdering()
|
| /petsc/src/mat/impls/aij/mpi/mumps/ |
| H A D | mumps.c | 2715 if (F->factortype == MAT_FACTOR_LU) { in MatSetFromOptions_MUMPS() 3383 …PetscCheck(F->factortype, PetscObjectComm((PetscObject)F), PETSC_ERR_ARG_WRONGSTATE, "Only for fac… in MatMumpsSetIcntl() 3411 …PetscCheck(F->factortype, PetscObjectComm((PetscObject)F), PETSC_ERR_ARG_WRONGSTATE, "Only for fac… in MatMumpsGetIcntl() 3535 …PetscCheck(F->factortype, PetscObjectComm((PetscObject)F), PETSC_ERR_ARG_WRONGSTATE, "Only for fac… in MatMumpsSetCntl() 3563 …PetscCheck(F->factortype, PetscObjectComm((PetscObject)F), PETSC_ERR_ARG_WRONGSTATE, "Only for fac… in MatMumpsGetCntl() 3702 …PetscCheck(F->factortype, PetscObjectComm((PetscObject)F), PETSC_ERR_ARG_WRONGSTATE, "Only for fac… in MatMumpsGetInverse() 3739 …PetscCheck(F->factortype, PetscObjectComm((PetscObject)F), PETSC_ERR_ARG_WRONGSTATE, "Only for fac… in MatMumpsGetInverseTranspose() 3793 …PetscCheck(F->factortype, PetscObjectComm((PetscObject)F), PETSC_ERR_ARG_WRONGSTATE, "Only for fac… in MatMumpsSetBlk() 3818 …PetscCheck(F->factortype, PetscObjectComm((PetscObject)F), PETSC_ERR_ARG_WRONGSTATE, "Only for fac… in MatMumpsGetInfo() 3844 …PetscCheck(F->factortype, PetscObjectComm((PetscObject)F), PETSC_ERR_ARG_WRONGSTATE, "Only for fac… in MatMumpsGetInfog() [all …]
|
| /petsc/src/mat/graphops/coarsen/interface/ |
| H A D | coarsen.c | 93 …PetscCheck(!coarser->graph->factortype, PetscObjectComm((PetscObject)coarser), PETSC_ERR_ARG_WRONG… in MatCoarsenApply()
|
| /petsc/src/mat/impls/aij/seq/bas/ |
| H A D | basfactor.c | 194 (*B)->factortype = ftype; in MatGetFactor_seqaij_bas()
|
| /petsc/src/mat/impls/baij/mpi/ |
| H A D | baijov.c | 697 submats[i]->factortype = C->factortype; 1154 submats[i]->factortype = C->factortype; 1193 submats[0]->factortype = C->factortype;
|
| /petsc/src/mat/impls/dense/seq/cupm/ |
| H A D | matseqdensecupm.hpp | 354 A->factortype = derived_type::MATFACTORTYPE(); in FactorPrepare() 655 …PetscCheck(A->factortype != MAT_FACTOR_NONE, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Matrix mu… in MatSolve_Factored_Dispatch_() 730 …PetscCheck(A->factortype != MAT_FACTOR_NONE, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Matrix mu… in MatMatSolve_Factored_Dispatch_() 1749 fact->factortype = ftype; in GetFactor() 1796 …tscCheck(A->factortype == MAT_FACTOR_CHOLESKY, PETSC_COMM_SELF, PETSC_ERR_LIB, "Factor type %s not… in InvertFactors() 1824 A->factortype = MAT_FACTOR_NONE; in InvertFactors()
|