Home
last modified time | relevance | path

Searched refs:PC (Results 1 – 25 of 910) sorted by relevance

12345678910>>...37

/petsc/include/
H A Dpetscpc.h44 PETSC_EXTERN PetscErrorCode PCCreate(MPI_Comm, PC *);
45 PETSC_EXTERN PetscErrorCode PCSetType(PC, PCType);
46 PETSC_EXTERN PetscErrorCode PCGetType(PC, PCType *);
47 PETSC_EXTERN PetscErrorCode PCSetUp(PC);
49 PETSC_EXTERN PetscErrorCode PCSetKSPNestLevel(PC, PetscInt);
50 PETSC_EXTERN PetscErrorCode PCGetKSPNestLevel(PC, PetscInt *);
52 PETSC_EXTERN PetscErrorCode PCSetFailedReason(PC, PCFailedReason);
53 PETSC_EXTERN PetscErrorCode PCGetFailedReason(PC, PCFailedReason *);
54 …CGetFailedReason()", ) static inline PetscErrorCode PCGetSetUpFailedReason(PC pc, PCFailedReason *… in PCGetSetUpFailedReason()
58 PETSC_EXTERN PetscErrorCode PCReduceFailedReason(PC);
[all …]
/petsc/src/ksp/pc/interface/
H A Dpcregis.c3 PETSC_EXTERN PetscErrorCode PCCreate_Jacobi(PC);
4 PETSC_EXTERN PetscErrorCode PCCreate_BJacobi(PC);
5 PETSC_EXTERN PetscErrorCode PCCreate_PBJacobi(PC);
6 PETSC_EXTERN PetscErrorCode PCCreate_VPBJacobi(PC);
7 PETSC_EXTERN PetscErrorCode PCCreate_ILU(PC);
8 PETSC_EXTERN PetscErrorCode PCCreate_None(PC);
9 PETSC_EXTERN PetscErrorCode PCCreate_LU(PC);
10 PETSC_EXTERN PetscErrorCode PCCreate_QR(PC);
11 PETSC_EXTERN PetscErrorCode PCCreate_SOR(PC);
12 PETSC_EXTERN PetscErrorCode PCCreate_Shell(PC);
[all …]
H A Dpcset.c46 PetscErrorCode PCSetType(PC pc, PCType type) in PCSetType()
49 PetscErrorCode (*r)(PC); in PCSetType()
93 PetscErrorCode PCGetType(PC pc, PCType *type) in PCGetType()
102 PETSC_INTERN PetscErrorCode PCGetDefaultType_Private(PC, const char *[]);
125 PetscErrorCode PCSetFromOptions(PC pc) in PCSetFromOptions()
184 PetscErrorCode PCSetDM(PC pc, DM dm) in PCSetDM()
209 PetscErrorCode PCGetDM(PC pc, DM *dm) in PCGetDM()
235 PetscErrorCode PCSetApplicationContext(PC pc, PetscCtx ctx) in PCSetApplicationContext()
264 PetscErrorCode PCGetApplicationContext(PC pc, PetscCtxRt ctx) in PCGetApplicationContext()
/petsc/src/ksp/pc/impls/factor/
H A Dfactor.h20 PETSC_INTERN PetscErrorCode PCFactorInitialize(PC, MatFactorType);
21 PETSC_INTERN PetscErrorCode PCFactorGetMatrix_Factor(PC, Mat *);
23 PETSC_INTERN PetscErrorCode PCFactorSetZeroPivot_Factor(PC, PetscReal);
24 PETSC_INTERN PetscErrorCode PCFactorGetZeroPivot_Factor(PC, PetscReal *);
25 PETSC_INTERN PetscErrorCode PCFactorSetShiftType_Factor(PC, MatFactorShiftType);
26 PETSC_INTERN PetscErrorCode PCFactorGetShiftType_Factor(PC, MatFactorShiftType *);
27 PETSC_INTERN PetscErrorCode PCFactorSetShiftAmount_Factor(PC, PetscReal);
28 PETSC_INTERN PetscErrorCode PCFactorGetShiftAmount_Factor(PC, PetscReal *);
29 PETSC_INTERN PetscErrorCode PCFactorSetDropTolerance_Factor(PC, PetscReal, PetscReal, PetscInt);
30 PETSC_INTERN PetscErrorCode PCFactorSetFill_Factor(PC, PetscReal);
[all …]
H A Dfactor.c7 PetscErrorCode PCFactorSetDefaultOrdering_Factor(PC pc) in PCFactorSetDefaultOrdering_Factor()
49 static PetscErrorCode PCFactorSetReuseOrdering_Factor(PC pc, PetscBool flag) in PCFactorSetReuseOrdering_Factor()
58 static PetscErrorCode PCFactorSetReuseFill_Factor(PC pc, PetscBool flag) in PCFactorSetReuseFill_Factor()
67 static PetscErrorCode PCFactorSetUseInPlace_Factor(PC pc, PetscBool flg) in PCFactorSetUseInPlace_Factor()
76 static PetscErrorCode PCFactorGetUseInPlace_Factor(PC pc, PetscBool *flg) in PCFactorGetUseInPlace_Factor()
104 PetscErrorCode PCFactorSetUpMatSolverType(PC pc) in PCFactorSetUpMatSolverType()
108 PetscTryMethod(pc, "PCFactorSetUpMatSolverType_C", (PC), (pc)); in PCFactorSetUpMatSolverType()
128 PetscErrorCode PCFactorSetZeroPivot(PC pc, PetscReal zero) in PCFactorSetZeroPivot()
133 PetscTryMethod(pc, "PCFactorSetZeroPivot_C", (PC, PetscReal), (pc, zero)); in PCFactorSetZeroPivot()
154 PetscErrorCode PCFactorSetShiftType(PC pc, MatFactorShiftType shifttype) in PCFactorSetShiftType()
[all …]
/petsc/include/petsc/private/
H A Dpcbddcprivateimpl.h7 PETSC_INTERN PetscErrorCode PCBDDCAnalyzeInterface(PC);
8 PETSC_INTERN PetscErrorCode PCBDDCConstraintsSetUp(PC);
11 PETSC_EXTERN PetscErrorCode PCBDDCLoadOrViewCustomization(PC, PetscBool, const char *);
14 PETSC_EXTERN PetscErrorCode PCBDDCResetTopography(PC);
15 PETSC_EXTERN PetscErrorCode PCBDDCResetSolvers(PC);
16 PETSC_EXTERN PetscErrorCode PCBDDCResetCustomization(PC);
36 PETSC_INTERN PetscErrorCode PCBDDCScalingSetUp(PC);
37 PETSC_INTERN PetscErrorCode PCBDDCScalingDestroy(PC);
38 PETSC_INTERN PetscErrorCode PCBDDCScalingRestriction(PC, Vec, Vec);
39 PETSC_INTERN PetscErrorCode PCBDDCScalingExtension(PC, Vec, Vec);
[all …]
H A Dpcimpl.h12 PetscErrorCode (*setup)(PC);
13 PetscErrorCode (*apply)(PC, Vec, Vec);
14 PetscErrorCode (*matapply)(PC, Mat, Mat);
15 …PetscErrorCode (*applyrichardson)(PC, Vec, Vec, Vec, PetscReal, PetscReal, PetscReal, PetscInt, Pe…
16 PetscErrorCode (*applyBA)(PC, PCSide, Vec, Vec, Vec);
17 PetscErrorCode (*applytranspose)(PC, Vec, Vec);
18 PetscErrorCode (*matapplytranspose)(PC, Mat, Mat);
19 PetscErrorCode (*applyBAtranspose)(PC, PetscInt, Vec, Vec, Vec);
20 PetscErrorCode (*setfromoptions)(PC, PetscOptionItems);
21 PetscErrorCode (*presolve)(PC, KSP, Vec, Vec);
[all …]
H A Dpcgamgimpl.h9 PetscErrorCode (*creategraph)(PC, Mat, Mat *);
10 PetscErrorCode (*coarsen)(PC, Mat *, PetscCoarsenData **);
11 PetscErrorCode (*prolongator)(PC, Mat, PetscCoarsenData *, Mat *);
12 PetscErrorCode (*optprolongator)(PC, Mat, Mat *);
13 PetscErrorCode (*createlevel)(PC, Mat, PetscInt, Mat *, Mat *, PetscMPIInt *, IS *, PetscBool);
14 PetscErrorCode (*createdefaultdata)(PC, Mat); /* for data methods that have a default (SA) */
15 PetscErrorCode (*setfromoptions)(PC, PetscOptionItems);
16 PetscErrorCode (*destroy)(PC);
17 PetscErrorCode (*view)(PC, PetscViewer);
59 PetscErrorCode PCCreateGAMG_GEO(PC);
[all …]
H A Dpcmgimpl.h76 …PetscErrorCode (*view)(PC, PetscViewer); /* GAMG and other objects that use PCMG can set their own…
81 PETSC_INTERN PetscErrorCode PCSetUp_MG(PC);
82 PETSC_INTERN PetscErrorCode PCReset_MG(PC);
83 PETSC_INTERN PetscErrorCode PCDestroy_MG(PC);
84 PETSC_INTERN PetscErrorCode PCSetFromOptions_MG(PC, PetscOptionItems PetscOptionsObject);
85 PETSC_INTERN PetscErrorCode PCView_MG(PC, PetscViewer);
86 PETSC_INTERN PetscErrorCode PCMGGetLevels_MG(PC, PetscInt *);
87 PETSC_INTERN PetscErrorCode PCMGSetLevels_MG(PC, PetscInt, MPI_Comm *);
94 PETSC_INTERN PetscErrorCode PCMGComputeCoarseSpace_Internal(PC, PetscInt, PCMGCoarseSpaceType, Pets…
95 PETSC_INTERN PetscErrorCode PCMGAdaptInterpolator_Internal(PC, PetscInt, KSP, KSP, Mat, Mat);
[all …]
H A Dpcpatchimpl.h17 PetscErrorCode (*userpatchconstructionop)(PC, PetscInt *, IS **, IS *, PetscCtx ctx);
65 …PetscErrorCode (*usercomputeop)(PC, PetscInt, Vec, Mat, IS, PetscInt, const PetscInt *, const Pets…
67 …PetscErrorCode (*usercomputef)(PC, PetscInt, Vec, Vec, IS, PetscInt, const PetscInt *, const Petsc…
70 …PetscErrorCode (*usercomputeopintfacet)(PC, PetscInt, Vec, Mat, IS, PetscInt, const PetscInt *, co…
73 …PetscErrorCode (*usercomputefintfacet)(PC, PetscInt, Vec, Vec, IS, PetscInt, const PetscInt *, con…
105 PetscErrorCode (*setupsolver)(PC);
106 PetscErrorCode (*applysolver)(PC, PetscInt, Vec, Vec);
107 PetscErrorCode (*resetsolver)(PC);
108 PetscErrorCode (*destroysolver)(PC);
109 PetscErrorCode (*updatemultiplicative)(PC, PetscInt, PetscInt);
[all …]
/petsc/src/ksp/pc/impls/shell/
H A Dshellpc.c11 PetscErrorCode (*destroy)(PC);
12 PetscErrorCode (*setup)(PC);
13 PetscErrorCode (*apply)(PC, Vec, Vec);
14 PetscErrorCode (*matapply)(PC, Mat, Mat);
15 PetscErrorCode (*applysymmetricleft)(PC, Vec, Vec);
16 PetscErrorCode (*applysymmetricright)(PC, Vec, Vec);
17 PetscErrorCode (*applyBA)(PC, PCSide, Vec, Vec, Vec);
18 PetscErrorCode (*presolve)(PC, KSP, Vec, Vec);
19 PetscErrorCode (*postsolve)(PC, KSP, Vec, Vec);
20 PetscErrorCode (*view)(PC, PetscViewer);
[all …]
/petsc/src/ksp/pc/impls/shell/ftn-custom/
H A Dzshellpcf.c32 static PetscErrorCode ourshellapply(PC pc, Vec x, Vec y) in ourshellapply()
34 …PetscCallFortranVoidFunction((*(void (*)(PC *, Vec *, Vec *, PetscErrorCode *))(((PetscObject)pc)-… in ourshellapply()
38 static PetscErrorCode ourshellapplysymmetricleft(PC pc, Vec x, Vec y) in ourshellapplysymmetricleft()
40 …PetscCallFortranVoidFunction((*(void (*)(PC *, Vec *, Vec *, PetscErrorCode *))(((PetscObject)pc)-… in ourshellapplysymmetricleft()
44 static PetscErrorCode ourshellapplysymmetricright(PC pc, Vec x, Vec y) in ourshellapplysymmetricright()
46 …PetscCallFortranVoidFunction((*(void (*)(PC *, Vec *, Vec *, PetscErrorCode *))(((PetscObject)pc)-… in ourshellapplysymmetricright()
50 static PetscErrorCode ourshellapplyctx(PC pc, Vec x, Vec y) in ourshellapplyctx()
54 …PetscCallFortranVoidFunction((*(void (*)(PC *, void *, Vec *, Vec *, PetscErrorCode *))(((PetscObj… in ourshellapplyctx()
58 static PetscErrorCode ourshellapplyba(PC pc, PCSide side, Vec x, Vec y, Vec work) in ourshellapplyba()
60 …PetscCallFortranVoidFunction((*(void (*)(PC *, PCSide *, Vec *, Vec *, Vec *, PetscErrorCode *))((… in ourshellapplyba()
[all …]
/petsc/src/ksp/pc/impls/telescope/
H A Dtelescope.h25 PetscErrorCode (*pctelescope_setup_type)(PC, PC_Telescope);
26 PetscErrorCode (*pctelescope_matcreate_type)(PC, PC_Telescope, MatReuse, Mat *);
27 PetscErrorCode (*pctelescope_matnullspacecreate_type)(PC, PC_Telescope, Mat);
28 PetscErrorCode (*pctelescope_reset_type)(PC);
56 PetscErrorCode PCTelescopeSetUp_dmda(PC, PC_Telescope);
57 PetscErrorCode PCTelescopeMatCreate_dmda(PC, PC_Telescope, MatReuse, Mat *);
58 PetscErrorCode PCTelescopeMatNullSpaceCreate_dmda(PC, PC_Telescope, Mat);
59 PetscErrorCode PCApply_Telescope_dmda(PC, Vec, Vec);
60 PetscErrorCode PCApplyRichardson_Telescope_dmda(PC, Vec, Vec, Vec, PetscReal, PetscReal, PetscReal,…
61 PetscErrorCode PCReset_Telescope_dmda(PC);
[all …]
/petsc/src/binding/petsc4py/demo/python_types/
H A Dpcpython_protocol.py2 from petsc4py.PETSc import PC
12 def apply(self, pc: PC, b: Vec, x: Vec) -> None: argument
16 def applySymmetricLeft(self, pc: PC, b: Vec, x: Vec) -> None: argument
20 def applySymmetricRight(self, pc: PC, b: Vec, x: Vec) -> None: argument
24 def applyTranspose(self, pc: PC, b: Vec, x: Vec) -> None: argument
28 def applyMat(self, pc: PC, B: Mat, X: Mat) -> None: argument
32 def preSolve(self, pc: PC, ksp: KSP, b: Vec, x: Vec) -> None: argument
40 def postSolve(self, pc: PC, ksp: KSP, b: Vec, x: Vec) -> None: argument
47 def view(self, pc: PC, viewer: Viewer) -> None: argument
51 def setFromOptions(self, pc: PC) -> None: argument
[all …]
/petsc/src/binding/petsc4py/src/lib-petsc/compat/
H A Dhypre.h11 PetscErrorCode PCHYPREGetType(PETSC_UNUSED PC pc,PETSC_UNUSED const char *name[]){PetscPCHYPREError… in PCHYPREGetType()
12 PetscErrorCode PCHYPRESetType(PETSC_UNUSED PC pc,PETSC_UNUSED const char name[]){PetscPCHYPREError;} in PCHYPRESetType()
13 PetscErrorCode PCHYPRESetDiscreteCurl(PETSC_UNUSED PC pc,PETSC_UNUSED Mat C){PetscPCHYPREError;} in PCHYPRESetDiscreteCurl()
14 PetscErrorCode PCHYPRESetDiscreteGradient(PETSC_UNUSED PC pc,PETSC_UNUSED Mat G){PetscPCHYPREError;} in PCHYPRESetDiscreteGradient()
15 PetscErrorCode PCHYPRESetAlphaPoissonMatrix(PETSC_UNUSED PC pc,PETSC_UNUSED Mat A){PetscPCHYPREErro… in PCHYPRESetAlphaPoissonMatrix()
16 PetscErrorCode PCHYPRESetBetaPoissonMatrix(PETSC_UNUSED PC pc,PETSC_UNUSED Mat B){PetscPCHYPREError… in PCHYPRESetBetaPoissonMatrix()
17 PetscErrorCode PCHYPRESetInterpolations(PETSC_UNUSED PC pc,PETSC_UNUSED PetscInt dim,PETSC_UNUSED M… in PCHYPRESetInterpolations()
18 PetscErrorCode PCHYPRESetEdgeConstantVectors(PETSC_UNUSED PC pc,PETSC_UNUSED Vec ozz,PETSC_UNUSED V… in PCHYPRESetEdgeConstantVectors()
19 PetscErrorCode PCHYPREAMSSetInteriorNodes(PETSC_UNUSED PC pc,PETSC_UNUSED Vec interior){PetscPCHYPR… in PCHYPREAMSSetInteriorNodes()
H A Dspai.h11 PetscErrorCode PCSPAISetEpsilon(PETSC_UNUSED PC a,PETSC_UNUSED PetscReal b) {PetscSPAIError;} in PCSPAISetEpsilon()
12 PetscErrorCode PCSPAISetNBSteps(PETSC_UNUSED PC a,PETSC_UNUSED PetscInt b) {PetscSPAIError;} in PCSPAISetNBSteps()
13 PetscErrorCode PCSPAISetMax(PETSC_UNUSED PC a,PETSC_UNUSED PetscInt b) {PetscSPAIError;} in PCSPAISetMax()
14 PetscErrorCode PCSPAISetMaxNew(PETSC_UNUSED PC a,PETSC_UNUSED PetscInt b) {PetscSPAIError;} in PCSPAISetMaxNew()
15 PetscErrorCode PCSPAISetBlockSize(PETSC_UNUSED PC a,PETSC_UNUSED PetscInt b) {PetscSPAIError;} in PCSPAISetBlockSize()
16 PetscErrorCode PCSPAISetCacheSize(PETSC_UNUSED PC a,PETSC_UNUSED PetscInt b) {PetscSPAIError;} in PCSPAISetCacheSize()
17 PetscErrorCode PCSPAISetVerbose(PETSC_UNUSED PC a,PETSC_UNUSED PetscInt b) {PetscSPAIError;} in PCSPAISetVerbose()
18 PetscErrorCode PCSPAISetSp(PETSC_UNUSED PC a,PETSC_UNUSED PetscInt b) {PetscSPAIError;} in PCSPAISetSp()
H A Dhpddm.h14 PetscErrorCode PCHPDDMSetAuxiliaryMat(PETSC_UNUSED PC pc,PETSC_UNUSED IS is,PETSC_UNUSED Mat aux,PE… in PCHPDDMSetAuxiliaryMat()
15 PetscErrorCode PCHPDDMSetRHSMat(PETSC_UNUSED PC pc,PETSC_UNUSED Mat B){PetscHPDDMError;} in PCHPDDMSetRHSMat()
16 PetscErrorCode PCHPDDMGetComplexities(PETSC_UNUSED PC pc,PETSC_UNUSED PetscReal *gc, PETSC_UNUSED P… in PCHPDDMGetComplexities()
17 PetscErrorCode PCHPDDMHasNeumannMat(PETSC_UNUSED PC pc,PETSC_UNUSED PetscBool has){PetscHPDDMError;} in PCHPDDMHasNeumannMat()
18 PetscErrorCode PCHPDDMSetCoarseCorrectionType(PETSC_UNUSED PC pc,PETSC_UNUSED PCHPDDMCoarseCorrecti… in PCHPDDMSetCoarseCorrectionType()
19 PetscErrorCode PCHPDDMGetCoarseCorrectionType(PETSC_UNUSED PC pc,PETSC_UNUSED PCHPDDMCoarseCorrecti… in PCHPDDMGetCoarseCorrectionType()
20 PetscErrorCode PCHPDDMGetSTShareSubKSP(PETSC_UNUSED PC pc,PETSC_UNUSED PetscBool *share){PetscHPDDM… in PCHPDDMGetSTShareSubKSP()
21 PetscErrorCode PCHPDDMSetDeflationMat(PETSC_UNUSED PC pc,PETSC_UNUSED IS is,PETSC_UNUSED Mat U){Pet… in PCHPDDMSetDeflationMat()
/petsc/src/ksp/pc/impls/galerkin/
H A Dgalerkin.c11 PetscErrorCode (*computeasub)(PC, Mat, Mat, Mat *, void *);
15 static PetscErrorCode PCApply_Galerkin(PC pc, Vec x, Vec y) in PCApply_Galerkin()
35 static PetscErrorCode PCSetUp_Galerkin(PC pc) in PCSetUp_Galerkin()
68 static PetscErrorCode PCReset_Galerkin(PC pc) in PCReset_Galerkin()
81 static PetscErrorCode PCDestroy_Galerkin(PC pc) in PCDestroy_Galerkin()
92 static PetscErrorCode PCView_Galerkin(PC pc, PetscViewer viewer) in PCView_Galerkin()
107 static PetscErrorCode PCGalerkinGetKSP_Galerkin(PC pc, KSP *ksp) in PCGalerkinGetKSP_Galerkin()
116 static PetscErrorCode PCGalerkinSetRestriction_Galerkin(PC pc, Mat R) in PCGalerkinSetRestriction_Galerkin()
127 static PetscErrorCode PCGalerkinSetInterpolation_Galerkin(PC pc, Mat P) in PCGalerkinSetInterpolation_Galerkin()
138 …ic PetscErrorCode PCGalerkinSetComputeSubmatrix_Galerkin(PC pc, PetscErrorCode (*computeAsub)(PC, … in PCGalerkinSetComputeSubmatrix_Galerkin() argument
[all …]
/petsc/src/ksp/pc/impls/jacobi/
H A Djacobi.c66 static PetscErrorCode PCReset_Jacobi(PC);
68 static PetscErrorCode PCJacobiSetType_Jacobi(PC pc, PCJacobiType type) in PCJacobiSetType_Jacobi()
81 static PetscErrorCode PCJacobiGetUseAbs_Jacobi(PC pc, PetscBool *flg) in PCJacobiGetUseAbs_Jacobi()
90 static PetscErrorCode PCJacobiSetUseAbs_Jacobi(PC pc, PetscBool flg) in PCJacobiSetUseAbs_Jacobi()
99 static PetscErrorCode PCJacobiGetType_Jacobi(PC pc, PCJacobiType *type) in PCJacobiGetType_Jacobi()
108 static PetscErrorCode PCJacobiSetRowl1Scale_Jacobi(PC pc, PetscReal flg) in PCJacobiSetRowl1Scale_Jacobi()
117 static PetscErrorCode PCJacobiGetRowl1Scale_Jacobi(PC pc, PetscReal *flg) in PCJacobiGetRowl1Scale_Jacobi()
126 static PetscErrorCode PCJacobiSetFixDiagonal_Jacobi(PC pc, PetscBool flg) in PCJacobiSetFixDiagonal_Jacobi()
135 static PetscErrorCode PCJacobiGetFixDiagonal_Jacobi(PC pc, PetscBool *flg) in PCJacobiGetFixDiagonal_Jacobi()
144 static PetscErrorCode PCJacobiGetDiagonal_Jacobi(PC pc, Vec diag, Vec diagsqrt) in PCJacobiGetDiagonal_Jacobi()
[all …]
/petsc/src/ksp/pc/impls/composite/
H A Dcomposite.c9 PC pc;
23 static PetscErrorCode PCApply_Composite_Multiplicative(PC pc, Vec x, Vec y) in PCApply_Composite_Multiplicative()
63 static PetscErrorCode PCApplyTranspose_Composite_Multiplicative(PC pc, Vec x, Vec y) in PCApplyTranspose_Composite_Multiplicative()
103 static PetscErrorCode PCApply_Composite_Special(PC pc, Vec x, Vec y) in PCApply_Composite_Special()
125 static PetscErrorCode PCApply_Composite_Additive(PC pc, Vec x, Vec y) in PCApply_Composite_Additive()
149 static PetscErrorCode PCApplyTranspose_Composite_Additive(PC pc, Vec x, Vec y) in PCApplyTranspose_Composite_Additive()
165 static PetscErrorCode PCSetUp_Composite(PC pc) in PCSetUp_Composite()
182 static PetscErrorCode PCSetUpOnBlocks_Composite(PC pc) in PCSetUpOnBlocks_Composite()
198 static PetscErrorCode PCReset_Composite(PC pc) in PCReset_Composite()
214 static PetscErrorCode PCDestroy_Composite(PC pc) in PCDestroy_Composite()
[all …]
/petsc/src/ksp/pc/impls/sor/
H A Dsor.c14 static PetscErrorCode PCDestroy_SOR(PC pc) in PCDestroy_SOR()
27 static PetscErrorCode PCApply_SOR(PC pc, Vec x, Vec y) in PCApply_SOR()
38 static PetscErrorCode PCApplyTranspose_SOR(PC pc, Vec x, Vec y) in PCApplyTranspose_SOR()
52 static PetscErrorCode PCApplyRichardson_SOR(PC pc, Vec b, Vec y, Vec w, PetscReal rtol, PetscReal a… in PCApplyRichardson_SOR()
66 static PetscErrorCode PCSetFromOptions_SOR(PC pc, PetscOptionItems PetscOptionsObject) in PCSetFromOptions_SOR()
95 static PetscErrorCode PCView_SOR(PC pc, PetscViewer viewer) in PCView_SOR()
121 static PetscErrorCode PCSORSetSymmetric_SOR(PC pc, MatSORType flag) in PCSORSetSymmetric_SOR()
130 static PetscErrorCode PCSORSetOmega_SOR(PC pc, PetscReal omega) in PCSORSetOmega_SOR()
140 static PetscErrorCode PCSORSetIterations_SOR(PC pc, PetscInt its, PetscInt lits) in PCSORSetIterations_SOR()
150 static PetscErrorCode PCSORGetSymmetric_SOR(PC pc, MatSORType *flag) in PCSORGetSymmetric_SOR()
[all …]
/petsc/src/ksp/pc/impls/eisens/
H A Deisen.c18 PC pc; in PCMult_Eisenstat()
31 PC pc; in PCNorm_Eisenstat()
41 static PetscErrorCode PCApply_Eisenstat(PC pc, Vec x, Vec y) in PCApply_Eisenstat()
58 static PetscErrorCode PCApplyTranspose_Eisenstat(PC pc, Vec x, Vec y) in PCApplyTranspose_Eisenstat()
77 static PetscErrorCode PCPreSolve_Eisenstat(PC pc, KSP ksp, Vec b, Vec x) in PCPreSolve_Eisenstat()
109 static PetscErrorCode PCPostSolve_Eisenstat(PC pc, KSP ksp, Vec b, Vec x) in PCPostSolve_Eisenstat()
125 static PetscErrorCode PCReset_Eisenstat(PC pc) in PCReset_Eisenstat()
137 static PetscErrorCode PCDestroy_Eisenstat(PC pc) in PCDestroy_Eisenstat()
150 static PetscErrorCode PCSetFromOptions_Eisenstat(PC pc, PetscOptionItems PetscOptionsObject) in PCSetFromOptions_Eisenstat()
166 static PetscErrorCode PCView_Eisenstat(PC pc, PetscViewer viewer) in PCView_Eisenstat()
[all …]
/petsc/src/ksp/pc/impls/spai/
H A Dispai.c57 static PetscErrorCode PCSetUp_SPAI(PC pc) in PCSetUp_SPAI()
100 static PetscErrorCode PCApply_SPAI(PC pc, Vec xx, Vec y) in PCApply_SPAI()
110 static PetscErrorCode PCMatApply_SPAI(PC pc, Mat X, Mat Y) in PCMatApply_SPAI()
120 static PetscErrorCode PCDestroy_SPAI(PC pc) in PCDestroy_SPAI()
139 static PetscErrorCode PCView_SPAI(PC pc, PetscViewer viewer) in PCView_SPAI()
159 static PetscErrorCode PCSPAISetEpsilon_SPAI(PC pc, PetscReal epsilon1) in PCSPAISetEpsilon_SPAI()
168 static PetscErrorCode PCSPAISetNBSteps_SPAI(PC pc, PetscInt nbsteps1) in PCSPAISetNBSteps_SPAI()
178 static PetscErrorCode PCSPAISetMax_SPAI(PC pc, PetscInt max1) in PCSPAISetMax_SPAI()
187 static PetscErrorCode PCSPAISetMaxNew_SPAI(PC pc, PetscInt maxnew1) in PCSPAISetMaxNew_SPAI()
196 static PetscErrorCode PCSPAISetBlockSize_SPAI(PC pc, PetscInt block_size1) in PCSPAISetBlockSize_SPAI()
[all …]
/petsc/src/ksp/pc/impls/deflation/
H A Ddeflation.c5 static PetscErrorCode PCDeflationSetInitOnly_Deflation(PC pc, PetscBool flg) in PCDeflationSetInitOnly_Deflation()
32 PetscErrorCode PCDeflationSetInitOnly(PC pc, PetscBool flg) in PCDeflationSetInitOnly()
37 PetscTryMethod(pc, "PCDeflationSetInitOnly_C", (PC, PetscBool), (pc, flg)); in PCDeflationSetInitOnly()
41 static PetscErrorCode PCDeflationSetLevels_Deflation(PC pc, PetscInt current, PetscInt max) in PCDeflationSetLevels_Deflation()
67 PetscErrorCode PCDeflationSetLevels(PC pc, PetscInt max) in PCDeflationSetLevels()
72 PetscTryMethod(pc, "PCDeflationSetLevels_C", (PC, PetscInt, PetscInt), (pc, 0, max)); in PCDeflationSetLevels()
76 static PetscErrorCode PCDeflationSetReductionFactor_Deflation(PC pc, PetscInt red) in PCDeflationSetReductionFactor_Deflation()
104 PetscErrorCode PCDeflationSetReductionFactor(PC pc, PetscInt red) in PCDeflationSetReductionFactor()
109 PetscTryMethod(pc, "PCDeflationSetReductionFactor_C", (PC, PetscInt), (pc, red)); in PCDeflationSetReductionFactor()
113 static PetscErrorCode PCDeflationSetCorrectionFactor_Deflation(PC pc, PetscScalar fact) in PCDeflationSetCorrectionFactor_Deflation()
[all …]
/petsc/src/ksp/pc/impls/ksp/
H A Dpcksp.c10 static PetscErrorCode PCKSPCreateKSP_KSP(PC pc) in PCKSPCreateKSP_KSP()
32 static PetscErrorCode PCApply_KSP(PC pc, Vec x, Vec y) in PCApply_KSP()
50 static PetscErrorCode PCMatApply_KSP(PC pc, Mat X, Mat Y) in PCMatApply_KSP()
68 static PetscErrorCode PCApplyTranspose_KSP(PC pc, Vec x, Vec y) in PCApplyTranspose_KSP()
86 static PetscErrorCode PCMatApplyTranspose_KSP(PC pc, Mat X, Mat Y) in PCMatApplyTranspose_KSP()
104 static PetscErrorCode PCSetUp_KSP(PC pc) in PCSetUp_KSP()
122 static PetscErrorCode PCReset_KSP(PC pc) in PCReset_KSP()
131 static PetscErrorCode PCDestroy_KSP(PC pc) in PCDestroy_KSP()
143 static PetscErrorCode PCView_KSP(PC pc, PetscViewer viewer) in PCView_KSP()
163 static PetscErrorCode PCKSPSetKSP_KSP(PC pc, KSP ksp) in PCKSPSetKSP_KSP()
[all …]

12345678910>>...37