Home
last modified time | relevance | path

Searched defs:pc (Results 1 – 25 of 292) sorted by relevance

12345678910>>...12

/petsc/src/ksp/pc/impls/factor/
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()
128 PetscErrorCode PCFactorSetZeroPivot(PC pc, PetscReal zero) in PCFactorSetZeroPivot()
154 PetscErrorCode PCFactorSetShiftType(PC pc, MatFactorShiftType shifttype) in PCFactorSetShiftType()
180 PetscErrorCode PCFactorSetShiftAmount(PC pc, PetscReal shiftamount) in PCFactorSetShiftAmount()
213 PetscErrorCode PCFactorSetDropTolerance(PC pc, PetscReal dt, PetscReal dtcol, PetscInt maxrowcount) in PCFactorSetDropTolerance()
[all …]
H A Dfactimpl.c3 PetscErrorCode PCFactorSetUpMatSolverType_Factor(PC pc) in PCFactorSetUpMatSolverType_Factor()
15 PetscErrorCode PCFactorSetZeroPivot_Factor(PC pc, PetscReal z) in PCFactorSetZeroPivot_Factor()
24 PetscErrorCode PCFactorSetShiftType_Factor(PC pc, MatFactorShiftType shifttype) in PCFactorSetShiftType_Factor()
37 PetscErrorCode PCFactorSetShiftAmount_Factor(PC pc, PetscReal shiftamount) in PCFactorSetShiftAmount_Factor()
47 PetscErrorCode PCFactorSetDropTolerance_Factor(PC pc, PetscReal dt, PetscReal dtcol, PetscInt dtcou… in PCFactorSetDropTolerance_Factor()
61 PetscErrorCode PCFactorSetFill_Factor(PC pc, PetscReal fill) in PCFactorSetFill_Factor()
70 PetscErrorCode PCFactorSetMatOrderingType_Factor(PC pc, MatOrderingType ordering) in PCFactorSetMatOrderingType_Factor()
86 PetscErrorCode PCFactorGetLevels_Factor(PC pc, PetscInt *levels) in PCFactorGetLevels_Factor()
95 PetscErrorCode PCFactorGetZeroPivot_Factor(PC pc, PetscReal *pivot) in PCFactorGetZeroPivot_Factor()
104 PetscErrorCode PCFactorGetShiftAmount_Factor(PC pc, PetscReal *shift) in PCFactorGetShiftAmount_Factor()
[all …]
/petsc/src/ksp/pc/impls/shell/
H A Dshellpc.c52 PetscErrorCode PCShellGetContext(PC pc, PetscCtxRt ctx) in PCShellGetContext()
87 PetscErrorCode PCShellSetContext(PC pc, PetscCtx ctx) in PCShellSetContext()
99 static PetscErrorCode PCSetUp_Shell(PC pc) in PCSetUp_Shell()
109 static PetscErrorCode PCApply_Shell(PC pc, Vec x, Vec y) in PCApply_Shell()
124 static PetscErrorCode PCMatApply_Shell(PC pc, Mat X, Mat Y) in PCMatApply_Shell()
139 static PetscErrorCode PCApplySymmetricLeft_Shell(PC pc, Vec x, Vec y) in PCApplySymmetricLeft_Shell()
149 static PetscErrorCode PCApplySymmetricRight_Shell(PC pc, Vec x, Vec y) in PCApplySymmetricRight_Shell()
159 static PetscErrorCode PCApplyBA_Shell(PC pc, PCSide side, Vec x, Vec y, Vec w) in PCApplyBA_Shell()
174 static PetscErrorCode PCPreSolveChangeRHS_Shell(PC pc, PetscBool *change) in PCPreSolveChangeRHS_Shell()
181 static PetscErrorCode PCPreSolve_Shell(PC pc, KSP ksp, Vec b, Vec x) in PCPreSolve_Shell()
[all …]
/petsc/src/ksp/pc/impls/jacobi/
H A Djacobi.c68 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()
172 static PetscErrorCode PCSetUp_Jacobi(PC pc) in PCSetUp_Jacobi()
[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()
41 static PetscErrorCode PCDeflationSetLevels_Deflation(PC pc, PetscInt current, PetscInt max) in PCDeflationSetLevels_Deflation()
67 PetscErrorCode PCDeflationSetLevels(PC pc, PetscInt max) in PCDeflationSetLevels()
76 static PetscErrorCode PCDeflationSetReductionFactor_Deflation(PC pc, PetscInt red) in PCDeflationSetReductionFactor_Deflation()
104 PetscErrorCode PCDeflationSetReductionFactor(PC pc, PetscInt red) in PCDeflationSetReductionFactor()
113 static PetscErrorCode PCDeflationSetCorrectionFactor_Deflation(PC pc, PetscScalar fact) in PCDeflationSetCorrectionFactor_Deflation()
146 PetscErrorCode PCDeflationSetCorrectionFactor(PC pc, PetscScalar fact) in PCDeflationSetCorrectionFactor()
155 static PetscErrorCode PCDeflationSetSpaceToCompute_Deflation(PC pc, PCDeflationSpaceType type, Pets… in PCDeflationSetSpaceToCompute_Deflation()
188 PetscErrorCode PCDeflationSetSpaceToCompute(PC pc, PCDeflationSpaceType type, PetscInt size) in PCDeflationSetSpaceToCompute()
[all …]
/petsc/src/ksp/pc/interface/
H A Dprecon.c14 PETSC_INTERN PetscErrorCode PCGetDefaultType_Private(PC pc, const char *type[]) in PCGetDefaultType_Private()
99 PetscErrorCode PCReset(PC pc) in PCReset()
125 PetscErrorCode PCDestroy(PC *pc) in PCDestroy()
171 PetscErrorCode PCGetDiagonalScale(PC pc, PetscBool *flag) in PCGetDiagonalScale()
205 PetscErrorCode PCSetDiagonalScale(PC pc, Vec s) in PCSetDiagonalScale()
251 PetscErrorCode PCDiagonalScaleLeft(PC pc, Vec in, Vec out) in PCDiagonalScaleLeft()
293 PetscErrorCode PCDiagonalScaleRight(PC pc, Vec in, Vec out) in PCDiagonalScaleRight()
330 PetscErrorCode PCSetUseAmat(PC pc, PetscBool flg) in PCSetUseAmat()
358 PetscErrorCode PCSetErrorIfFailure(PC pc, PetscBool flg) in PCSetErrorIfFailure()
388 PetscErrorCode PCGetUseAmat(PC pc, PetscBool *flg) in PCGetUseAmat()
[all …]
H A Dpcset.c46 PetscErrorCode PCSetType(PC pc, PCType type) in PCSetType()
93 PetscErrorCode PCGetType(PC pc, PCType *type) in PCGetType()
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/composite/
H A Dcomposite.c9 PC pc; member
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/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 …]
/petsc/src/ksp/pc/impls/eisens/
H A Deisen.c18 PC pc; in PCMult_Eisenstat() local
31 PC pc; in PCNorm_Eisenstat() local
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/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()
/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/galerkin/
H A Dgalerkin.c15 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 static PetscErrorCode PCGalerkinSetComputeSubmatrix_Galerkin(PC pc, PetscErrorCode (*computeAsub)(P… in PCGalerkinSetComputeSubmatrix_Galerkin() argument
165 PetscErrorCode PCGalerkinSetRestriction(PC pc, Mat R) in PCGalerkinSetRestriction()
[all …]
/petsc/src/binding/petsc4py/test/
H A Dtest_pc_py.py11 def setup(self, pc): argument
14 def reset(self, pc): argument
17 def apply(self, pc, x, y): argument
20 def applyT(self, pc, x, y): argument
23 def applyS(self, pc, x, y): argument
26 def applySL(self, pc, x, y): argument
29 def applySR(self, pc, x, y): argument
32 def applyRich(self, pc, x, y, w, tols): argument
35 def applyM(self, pc, x, y): argument
40 def apply(self, pc, x, y): argument
[all …]
/petsc/src/ksp/pc/impls/factor/ilu/
H A Dilu.c6 static PetscErrorCode PCFactorReorderForNonzeroDiagonal_ILU(PC pc, PetscReal z) in PCFactorReorderForNonzeroDiagonal_ILU()
17 static PetscErrorCode PCReset_ILU(PC pc) in PCReset_ILU()
28 static PetscErrorCode PCFactorSetDropTolerance_ILU(PC pc, PetscReal dt, PetscReal dtcol, PetscInt d… in PCFactorSetDropTolerance_ILU()
41 static PetscErrorCode PCSetFromOptions_ILU(PC pc, PetscOptionItems PetscOptionsObject) in PCSetFromOptions_ILU()
68 static PetscErrorCode PCSetUp_ILU(PC pc) in PCSetUp_ILU()
179 static PetscErrorCode PCDestroy_ILU(PC pc) in PCDestroy_ILU()
192 static PetscErrorCode PCApply_ILU(PC pc, Vec x, Vec y) in PCApply_ILU()
201 static PetscErrorCode PCMatApply_ILU(PC pc, Mat X, Mat Y) in PCMatApply_ILU()
210 static PetscErrorCode PCApplyTranspose_ILU(PC pc, Vec x, Vec y) in PCApplyTranspose_ILU()
219 static PetscErrorCode PCMatApplyTranspose_ILU(PC pc, Mat X, Mat Y) in PCMatApplyTranspose_ILU()
[all …]
/petsc/src/ksp/pc/impls/shell/ftn-custom/
H A Dzshellpcf.c32 static PetscErrorCode ourshellapply(PC pc, Vec x, Vec y) in ourshellapply()
38 static PetscErrorCode ourshellapplysymmetricleft(PC pc, Vec x, Vec y) in ourshellapplysymmetricleft()
44 static PetscErrorCode ourshellapplysymmetricright(PC pc, Vec x, Vec y) in ourshellapplysymmetricright()
50 static PetscErrorCode ourshellapplyctx(PC pc, Vec x, Vec y) in ourshellapplyctx()
58 static PetscErrorCode ourshellapplyba(PC pc, PCSide side, Vec x, Vec y, Vec work) in ourshellapplyba()
64 static PetscErrorCode ourapplyrichardson(PC pc, Vec x, Vec y, Vec w, PetscReal rtol, PetscReal abst… in ourapplyrichardson()
70 static PetscErrorCode ourshellapplytranspose(PC pc, Vec x, Vec y) in ourshellapplytranspose()
76 static PetscErrorCode ourshellsetup(PC pc) in ourshellsetup()
82 static PetscErrorCode ourshellsetupctx(PC pc) in ourshellsetupctx()
90 static PetscErrorCode ourshelldestroy(PC pc) in ourshelldestroy()
[all …]
/petsc/src/ksp/pc/impls/telescope/
H A Dtelescope.c130 static PetscErrorCode PCTelescopeSetUp_default(PC pc, PC_Telescope sred) in PCTelescopeSetUp_default()
190 static PetscErrorCode PCTelescopeMatCreate_default(PC pc, PC_Telescope sred, MatReuse reuse, Mat *A) in PCTelescopeMatCreate_default()
229 static PetscErrorCode PCTelescopeSubNullSpaceCreate_Telescope(PC pc, PC_Telescope sred, MatNullSpac… in PCTelescopeSubNullSpaceCreate_Telescope()
277 static PetscErrorCode PCTelescopeMatNullSpaceCreate_default(PC pc, PC_Telescope sred, Mat sub_mat) in PCTelescopeMatNullSpaceCreate_default()
312 static PetscErrorCode PCView_Telescope(PC pc, PetscViewer viewer) in PCView_Telescope()
416 static PetscErrorCode PCSetUp_Telescope(PC pc) in PCSetUp_Telescope()
567 static PetscErrorCode PCApply_Telescope(PC pc, Vec x, Vec y) in PCApply_Telescope()
618 static PetscErrorCode PCApplyRichardson_Telescope(PC pc, Vec x, Vec y, Vec w, PetscReal rtol, Petsc… in PCApplyRichardson_Telescope()
667 static PetscErrorCode PCReset_Telescope(PC pc) in PCReset_Telescope()
683 static PetscErrorCode PCDestroy_Telescope(PC pc) in PCDestroy_Telescope()
[all …]
/petsc/src/ksp/pc/impls/bjacobi/
H A Dbjacobi.c11 static PetscErrorCode PCSetUp_BJacobi(PC pc) in PCSetUp_BJacobi()
135 static PetscErrorCode PCDestroy_BJacobi(PC pc) in PCDestroy_BJacobi()
151 static PetscErrorCode PCSetFromOptions_BJacobi(PC pc, PetscOptionItems PetscOptionsObject) in PCSetFromOptions_BJacobi()
173 static PetscErrorCode PCView_BJacobi(PC pc, PetscViewer viewer) in PCView_BJacobi()
258 static PetscErrorCode PCBJacobiGetSubKSP_BJacobi(PC pc, PetscInt *n_local, PetscInt *first_local, K… in PCBJacobiGetSubKSP_BJacobi()
271 static PetscErrorCode PCBJacobiSetTotalBlocks_BJacobi(PC pc, PetscInt blocks, const PetscInt *lens) in PCBJacobiSetTotalBlocks_BJacobi()
286 static PetscErrorCode PCBJacobiGetTotalBlocks_BJacobi(PC pc, PetscInt *blocks, const PetscInt *lens… in PCBJacobiGetTotalBlocks_BJacobi()
296 static PetscErrorCode PCBJacobiSetLocalBlocks_BJacobi(PC pc, PetscInt blocks, const PetscInt lens[]) in PCBJacobiSetLocalBlocks_BJacobi()
312 static PetscErrorCode PCBJacobiGetLocalBlocks_BJacobi(PC pc, PetscInt *blocks, const PetscInt *lens… in PCBJacobiGetLocalBlocks_BJacobi()
351 PetscErrorCode PCBJacobiGetSubKSP(PC pc, PetscInt *n_local, PetscInt *first_local, KSP *ksp[]) in PCBJacobiGetSubKSP()
[all …]
/petsc/src/ksp/pc/impls/redundant/
H A Dredundant.c9 PC pc; /* actual preconditioner used on each processor */ member
21 static PetscErrorCode PCFactorSetShiftType_Redundant(PC pc, MatFactorShiftType shifttype) in PCFactorSetShiftType_Redundant()
27 PC pc; in PCFactorSetShiftType_Redundant() local
37 static PetscErrorCode PCView_Redundant(PC pc, PetscViewer viewer) in PCView_Redundant()
66 static PetscErrorCode PCSetUp_Redundant(PC pc) in PCSetUp_Redundant()
180 static PetscErrorCode PCApply_Redundant(PC pc, Vec x, Vec y) in PCApply_Redundant()
218 static PetscErrorCode PCApplyTranspose_Redundant(PC pc, Vec x, Vec y) in PCApplyTranspose_Redundant()
256 static PetscErrorCode PCReset_Redundant(PC pc) in PCReset_Redundant()
274 static PetscErrorCode PCDestroy_Redundant(PC pc) in PCDestroy_Redundant()
291 static PetscErrorCode PCSetFromOptions_Redundant(PC pc, PetscOptionItems PetscOptionsObject) in PCSetFromOptions_Redundant()
[all …]
/petsc/src/ksp/pc/impls/factor/icc/
H A Dicc.c3 static PetscErrorCode PCSetUp_ICC(PC pc) in PCSetUp_ICC()
66 static PetscErrorCode PCReset_ICC(PC pc) in PCReset_ICC()
75 static PetscErrorCode PCDestroy_ICC(PC pc) in PCDestroy_ICC()
88 static PetscErrorCode PCApply_ICC(PC pc, Vec x, Vec y) in PCApply_ICC()
97 static PetscErrorCode PCMatApply_ICC(PC pc, Mat X, Mat Y) in PCMatApply_ICC()
106 static PetscErrorCode PCApplySymmetricLeft_ICC(PC pc, Vec x, Vec y) in PCApplySymmetricLeft_ICC()
115 static PetscErrorCode PCApplySymmetricRight_ICC(PC pc, Vec x, Vec y) in PCApplySymmetricRight_ICC()
124 static PetscErrorCode PCSetFromOptions_ICC(PC pc, PetscOptionItems PetscOptionsObject) in PCSetFromOptions_ICC()
172 PETSC_EXTERN PetscErrorCode PCCreate_ICC(PC pc) in PCCreate_ICC()
/petsc/src/ksp/pc/impls/factor/lu/
H A Dlu.c9 static PetscErrorCode PCFactorReorderForNonzeroDiagonal_LU(PC pc, PetscReal z) in PCFactorReorderForNonzeroDiagonal_LU()
20 static PetscErrorCode PCSetFromOptions_LU(PC pc, PetscOptionItems PetscOptionsObject) in PCSetFromOptions_LU()
40 static PetscErrorCode PCSetUp_LU(PC pc) in PCSetUp_LU()
146 static PetscErrorCode PCReset_LU(PC pc) in PCReset_LU()
157 static PetscErrorCode PCDestroy_LU(PC pc) in PCDestroy_LU()
170 static PetscErrorCode PCApply_LU(PC pc, Vec x, Vec y) in PCApply_LU()
183 static PetscErrorCode PCMatApply_LU(PC pc, Mat X, Mat Y) in PCMatApply_LU()
196 static PetscErrorCode PCApplyTranspose_LU(PC pc, Vec x, Vec y) in PCApplyTranspose_LU()
209 static PetscErrorCode PCMatApplyTranspose_LU(PC pc, Mat X, Mat Y) in PCMatApplyTranspose_LU()
260 PETSC_EXTERN PetscErrorCode PCCreate_LU(PC pc) in PCCreate_LU()
/petsc/src/ksp/pc/impls/factor/cholesky/
H A Dcholesky.c13 static PetscErrorCode PCSetFromOptions_Cholesky(PC pc, PetscOptionItems PetscOptionsObject) in PCSetFromOptions_Cholesky()
22 static PetscErrorCode PCSetUp_Cholesky(PC pc) in PCSetUp_Cholesky()
152 static PetscErrorCode PCReset_Cholesky(PC pc) in PCReset_Cholesky()
163 static PetscErrorCode PCDestroy_Cholesky(PC pc) in PCDestroy_Cholesky()
176 static PetscErrorCode PCApply_Cholesky(PC pc, Vec x, Vec y) in PCApply_Cholesky()
189 static PetscErrorCode PCMatApply_Cholesky(PC pc, Mat X, Mat Y) in PCMatApply_Cholesky()
202 static PetscErrorCode PCApplySymmetricLeft_Cholesky(PC pc, Vec x, Vec y) in PCApplySymmetricLeft_Cholesky()
215 static PetscErrorCode PCApplySymmetricRight_Cholesky(PC pc, Vec x, Vec y) in PCApplySymmetricRight_Cholesky()
228 static PetscErrorCode PCApplyTranspose_Cholesky(PC pc, Vec x, Vec y) in PCApplyTranspose_Cholesky()
241 static PetscErrorCode PCMatApplyTranspose_Cholesky(PC pc, Mat X, Mat Y) in PCMatApplyTranspose_Cholesky()
[all …]
/petsc/src/ksp/pc/impls/bddc/
H A Dbddc.c38 static PetscErrorCode PCSetFromOptions_BDDC(PC pc, PetscOptionItems PetscOptionsObject) in PCSetFromOptions_BDDC()
121 static PetscErrorCode PCView_BDDC(PC pc, PetscViewer viewer) in PCView_BDDC()
270 static PetscErrorCode PCBDDCSetDiscreteGradient_BDDC(PC pc, Mat G, PetscInt order, PetscInt field, … in PCBDDCSetDiscreteGradient_BDDC()
310 PetscErrorCode PCBDDCSetDiscreteGradient(PC pc, Mat G, PetscInt order, PetscInt field, PetscBool gl… in PCBDDCSetDiscreteGradient()
324 static PetscErrorCode PCBDDCSetDivergenceMat_BDDC(PC pc, Mat divudotp, PetscBool trans, IS vl2l) in PCBDDCSetDivergenceMat_BDDC()
363 PetscErrorCode PCBDDCSetDivergenceMat(PC pc, Mat divudotp, PetscBool trans, IS vl2l) in PCBDDCSetDivergenceMat()
379 static PetscErrorCode PCBDDCSetChangeOfBasisMat_BDDC(PC pc, Mat change, PetscBool interior) in PCBDDCSetChangeOfBasisMat_BDDC()
405 PetscErrorCode PCBDDCSetChangeOfBasisMat(PC pc, Mat change, PetscBool interior) in PCBDDCSetChangeOfBasisMat()
426 static PetscErrorCode PCBDDCSetPrimalVerticesIS_BDDC(PC pc, IS PrimalVertices) in PCBDDCSetPrimalVerticesIS_BDDC()
457 PetscErrorCode PCBDDCSetPrimalVerticesIS(PC pc, IS PrimalVertices) in PCBDDCSetPrimalVerticesIS()
[all …]
/petsc/src/ksp/pc/impls/mg/
H A Dmg.c14 PetscErrorCode PCMGMCycle_Private(PC pc, PC_MG_Levels **mglevelsin, PetscBool transpose, PetscBool … in PCMGMCycle_Private()
124 static PetscErrorCode PCApplyRichardson_MG(PC pc, Vec b, Vec x, Vec w, PetscReal rtol, PetscReal ab… in PCApplyRichardson_MG()
199 PetscErrorCode PCReset_MG(PC pc) in PCReset_MG()
280 static PetscErrorCode CRSetup_Private(PC pc) in CRSetup_Private()
296 static PetscErrorCode CRApply_Private(PC pc, Vec x, Vec y) in CRApply_Private()
306 static PetscErrorCode CRDestroy_Private(PC pc) in CRDestroy_Private()
319 static PetscErrorCode CreateCR_Private(PC pc, PetscInt l, PC *cr) in CreateCR_Private()
339 PetscErrorCode PCMGSetLevels_MG(PC pc, PetscInt levels, MPI_Comm *comms) in PCMGSetLevels_MG()
498 PetscErrorCode PCMGSetLevels(PC pc, PetscInt levels, MPI_Comm *comms) in PCMGSetLevels()
507 PetscErrorCode PCDestroy_MG(PC pc) in PCDestroy_MG()
[all …]
/petsc/src/ksp/pc/impls/mat/
H A Dpcmat.c18 static PetscErrorCode PCApply_Mat(PC pc, Vec x, Vec y) in PCApply_Mat()
45 static PetscErrorCode PCSetUp_Mat(PC pc) in PCSetUp_Mat()
59 static PetscErrorCode PCMatApply_Mat(PC pc, Mat X, Mat Y) in PCMatApply_Mat()
91 static PetscErrorCode PCApplyTranspose_Mat(PC pc, Vec x, Vec y) in PCApplyTranspose_Mat()
124 static PetscErrorCode PCDestroy_Mat(PC pc) in PCDestroy_Mat()
150 PetscErrorCode PCMatSetApplyOperation(PC pc, MatOperation matop) in PCMatSetApplyOperation()
173 PetscErrorCode PCMatGetApplyOperation(PC pc, MatOperation *matop) in PCMatGetApplyOperation()
182 static PetscErrorCode PCMatSetApplyOperation_Mat(PC pc, MatOperation matop) in PCMatSetApplyOperation_Mat()
206 static PetscErrorCode PCMatGetApplyOperation_Mat(PC pc, MatOperation *matop_p) in PCMatGetApplyOperation_Mat()
232 static PetscErrorCode PCView_Mat(PC pc, PetscViewer viewer) in PCView_Mat()
[all …]

12345678910>>...12