petsc4py.PETSc.KSP ================== .. autoclass:: petsc4py.PETSc.KSP :show-inheritance: .. rubric:: Enumerations .. autosummary:: :toctree: ~petsc4py.PETSc.KSP.ConvergedReason ~petsc4py.PETSc.KSP.HPDDMType ~petsc4py.PETSc.KSP.NormType ~petsc4py.PETSc.KSP.Type .. rubric:: Methods Summary .. autosummary:: ~petsc4py.PETSc.KSP.addConvergenceTest ~petsc4py.PETSc.KSP.appendOptionsPrefix ~petsc4py.PETSc.KSP.buildResidual ~petsc4py.PETSc.KSP.buildSolution ~petsc4py.PETSc.KSP.callConvergenceTest ~petsc4py.PETSc.KSP.computeEigenvalues ~petsc4py.PETSc.KSP.computeExtremeSingularValues ~petsc4py.PETSc.KSP.create ~petsc4py.PETSc.KSP.createPython ~petsc4py.PETSc.KSP.destroy ~petsc4py.PETSc.KSP.getAppCtx ~petsc4py.PETSc.KSP.getCGObjectiveValue ~petsc4py.PETSc.KSP.getComputeEigenvalues ~petsc4py.PETSc.KSP.getComputeSingularValues ~petsc4py.PETSc.KSP.getConvergedReason ~petsc4py.PETSc.KSP.getConvergenceHistory ~petsc4py.PETSc.KSP.getConvergenceTest ~petsc4py.PETSc.KSP.getDM ~petsc4py.PETSc.KSP.getErrorIfNotConverged ~petsc4py.PETSc.KSP.getHPDDMType ~petsc4py.PETSc.KSP.getInitialGuessKnoll ~petsc4py.PETSc.KSP.getInitialGuessNonzero ~petsc4py.PETSc.KSP.getIterationNumber ~petsc4py.PETSc.KSP.getMonitor ~petsc4py.PETSc.KSP.getNormType ~petsc4py.PETSc.KSP.getOperators ~petsc4py.PETSc.KSP.getOptionsPrefix ~petsc4py.PETSc.KSP.getPC ~petsc4py.PETSc.KSP.getPCSide ~petsc4py.PETSc.KSP.getPythonContext ~petsc4py.PETSc.KSP.getPythonType ~petsc4py.PETSc.KSP.getResidualNorm ~petsc4py.PETSc.KSP.getRhs ~petsc4py.PETSc.KSP.getSolution ~petsc4py.PETSc.KSP.getTolerances ~petsc4py.PETSc.KSP.getType ~petsc4py.PETSc.KSP.getWorkVecs ~petsc4py.PETSc.KSP.logConvergenceHistory ~petsc4py.PETSc.KSP.matSolve ~petsc4py.PETSc.KSP.matSolveTranspose ~petsc4py.PETSc.KSP.monitor ~petsc4py.PETSc.KSP.monitorCancel ~petsc4py.PETSc.KSP.reset ~petsc4py.PETSc.KSP.setAppCtx ~petsc4py.PETSc.KSP.setComputeEigenvalues ~petsc4py.PETSc.KSP.setComputeOperators ~petsc4py.PETSc.KSP.setComputeRHS ~petsc4py.PETSc.KSP.setComputeSingularValues ~petsc4py.PETSc.KSP.setConvergedReason ~petsc4py.PETSc.KSP.setConvergenceHistory ~petsc4py.PETSc.KSP.setConvergenceTest ~petsc4py.PETSc.KSP.setDM ~petsc4py.PETSc.KSP.setDMActive ~petsc4py.PETSc.KSP.setErrorIfNotConverged ~petsc4py.PETSc.KSP.setFromOptions ~petsc4py.PETSc.KSP.setGMRESRestart ~petsc4py.PETSc.KSP.setHPDDMType ~petsc4py.PETSc.KSP.setInitialGuessKnoll ~petsc4py.PETSc.KSP.setInitialGuessNonzero ~petsc4py.PETSc.KSP.setIterationNumber ~petsc4py.PETSc.KSP.setMonitor ~petsc4py.PETSc.KSP.setNormType ~petsc4py.PETSc.KSP.setOperators ~petsc4py.PETSc.KSP.setOptionsPrefix ~petsc4py.PETSc.KSP.setPC ~petsc4py.PETSc.KSP.setPCSide ~petsc4py.PETSc.KSP.setPostSolve ~petsc4py.PETSc.KSP.setPreSolve ~petsc4py.PETSc.KSP.setPythonContext ~petsc4py.PETSc.KSP.setPythonType ~petsc4py.PETSc.KSP.setResidualNorm ~petsc4py.PETSc.KSP.setTolerances ~petsc4py.PETSc.KSP.setType ~petsc4py.PETSc.KSP.setUp ~petsc4py.PETSc.KSP.setUpOnBlocks ~petsc4py.PETSc.KSP.setUseFischerGuess ~petsc4py.PETSc.KSP.solve ~petsc4py.PETSc.KSP.solveTranspose ~petsc4py.PETSc.KSP.view .. rubric:: Attributes Summary .. autosummary:: ~petsc4py.PETSc.KSP.appctx ~petsc4py.PETSc.KSP.atol ~petsc4py.PETSc.KSP.divtol ~petsc4py.PETSc.KSP.dm ~petsc4py.PETSc.KSP.guess_knoll ~petsc4py.PETSc.KSP.guess_nonzero ~petsc4py.PETSc.KSP.history ~petsc4py.PETSc.KSP.is_converged ~petsc4py.PETSc.KSP.is_diverged ~petsc4py.PETSc.KSP.is_iterating ~petsc4py.PETSc.KSP.its ~petsc4py.PETSc.KSP.mat_op ~petsc4py.PETSc.KSP.mat_pc ~petsc4py.PETSc.KSP.max_it ~petsc4py.PETSc.KSP.norm ~petsc4py.PETSc.KSP.norm_type ~petsc4py.PETSc.KSP.pc ~petsc4py.PETSc.KSP.pc_side ~petsc4py.PETSc.KSP.reason ~petsc4py.PETSc.KSP.rtol ~petsc4py.PETSc.KSP.vec_rhs ~petsc4py.PETSc.KSP.vec_sol .. rubric:: Methods Documentation .. automethod:: addConvergenceTest .. automethod:: appendOptionsPrefix .. automethod:: buildResidual .. automethod:: buildSolution .. automethod:: callConvergenceTest .. automethod:: computeEigenvalues .. automethod:: computeExtremeSingularValues .. automethod:: create .. automethod:: createPython .. automethod:: destroy .. automethod:: getAppCtx .. automethod:: getCGObjectiveValue .. automethod:: getComputeEigenvalues .. automethod:: getComputeSingularValues .. automethod:: getConvergedReason .. automethod:: getConvergenceHistory .. automethod:: getConvergenceTest .. automethod:: getDM .. automethod:: getErrorIfNotConverged .. automethod:: getHPDDMType .. automethod:: getInitialGuessKnoll .. automethod:: getInitialGuessNonzero .. automethod:: getIterationNumber .. automethod:: getMonitor .. automethod:: getNormType .. automethod:: getOperators .. automethod:: getOptionsPrefix .. automethod:: getPC .. automethod:: getPCSide .. automethod:: getPythonContext .. automethod:: getPythonType .. automethod:: getResidualNorm .. automethod:: getRhs .. automethod:: getSolution .. automethod:: getTolerances .. automethod:: getType .. automethod:: getWorkVecs .. automethod:: logConvergenceHistory .. automethod:: matSolve .. automethod:: matSolveTranspose .. automethod:: monitor .. automethod:: monitorCancel .. automethod:: reset .. automethod:: setAppCtx .. automethod:: setComputeEigenvalues .. automethod:: setComputeOperators .. automethod:: setComputeRHS .. automethod:: setComputeSingularValues .. automethod:: setConvergedReason .. automethod:: setConvergenceHistory .. automethod:: setConvergenceTest .. automethod:: setDM .. automethod:: setDMActive .. automethod:: setErrorIfNotConverged .. automethod:: setFromOptions .. automethod:: setGMRESRestart .. automethod:: setHPDDMType .. automethod:: setInitialGuessKnoll .. automethod:: setInitialGuessNonzero .. automethod:: setIterationNumber .. automethod:: setMonitor .. automethod:: setNormType .. automethod:: setOperators .. automethod:: setOptionsPrefix .. automethod:: setPC .. automethod:: setPCSide .. automethod:: setPostSolve .. automethod:: setPreSolve .. automethod:: setPythonContext .. automethod:: setPythonType .. automethod:: setResidualNorm .. automethod:: setTolerances .. automethod:: setType .. automethod:: setUp .. automethod:: setUpOnBlocks .. automethod:: setUseFischerGuess .. automethod:: solve .. automethod:: solveTranspose .. automethod:: view .. rubric:: Attributes Documentation .. autoattribute:: appctx .. autoattribute:: atol .. autoattribute:: divtol .. autoattribute:: dm .. autoattribute:: guess_knoll .. autoattribute:: guess_nonzero .. autoattribute:: history .. autoattribute:: is_converged .. autoattribute:: is_diverged .. autoattribute:: is_iterating .. autoattribute:: its .. autoattribute:: mat_op .. autoattribute:: mat_pc .. autoattribute:: max_it .. autoattribute:: norm .. autoattribute:: norm_type .. autoattribute:: pc .. autoattribute:: pc_side .. autoattribute:: reason .. autoattribute:: rtol .. autoattribute:: vec_rhs .. autoattribute:: vec_sol