Package petsc4py :: Module PETSc :: Class KSP

[hide private]
[frames] | no frames]

# type KSP

Nested Classes | [hide private]

ConvergedReason
NormType
Type

Instance Methods | [hide private]

__call__(...) <==> x(...) |

a new object with type S, a subtype of T

__new__(S, ...) |

buildResidual(self, Vec r=None) |

buildSolution(self, Vec x=None) |

callConvergenceTest(self, its, rnorm) |

cancelMonitor(self) |

computeEigenvalues(self) |

computeExtremeSingularValues(self) |

create(self, comm=None) |

createPython(self, context=None, comm=None) |

destroy(self) |

getAppCtx(self) |

getComputeEigenvalues(self) |

getComputeSingularValues(self) |

getConvergedReason(self) |

getConvergenceHistory(self) |

getConvergenceTest(self) |

getDM(self) |

getInitialGuessKnoll(self) |

getInitialGuessNonzero(self) |

getIterationNumber(self) |

getMonitor(self) |

getNormType(self) |

getOperators(self) |

getOptionsPrefix(self) |

getPC(self) |

getPCSide(self) |

getPythonContext(self) |

getResidualNorm(self) |

getRhs(self) |

getSolution(self) |

getTolerances(self) |

getType(self) |

getWorkVecs(self, right=None, left=None) |

logConvergenceHistory(self, rnorm) |

monitor(self, its, rnorm) |

reset(self) |

setAppCtx(self, appctx) |

setComputeEigenvalues(self, bool flag) |

setComputeOperators(self, operators, args=None, kargs=None) |

setComputeRHS(self, rhs, args=None, kargs=None) |

setComputeSingularValues(self, bool flag) |

setConvergedReason(self, reason) |

setConvergenceHistory(self, length=None, reset=False) |

setConvergenceTest(self, converged, args=None, kargs=None) |

setDM(self, DM dm) |

setDMActive(self, bool flag) |

setFromOptions(self) |

setGMRESRestart(self, restart) |

setInitialGuessKnoll(self, bool flag) |

setInitialGuessNonzero(self, bool flag) |

setIterationNumber(self, its) |

setMonitor(self, monitor, args=None, kargs=None) |

setNormType(self, normtype) |

setOperators(self, Mat A=None, Mat P=None) |

setOptionsPrefix(self, prefix) |

setPC(self, PC pc) |

setPCSide(self, side) |

setPythonContext(self, context) |

setPythonType(self, py_type) |

setResidualNorm(self, rnorm) |

setTolerances(self, rtol=None, atol=None, divtol=None, max_it=None) |

setType(self, ksp_type) |

setUp(self) |

setUpOnBlocks(self) |

setUseFischerGuess(self, model, size) |

solve(self, Vec b, Vec x) |

solveTranspose(self, Vec b, Vec x) |

view(self, Viewer viewer=None) |

Inherited from `Object`: `__copy__`, `__deepcopy__`, `__eq__`, `__ge__`, `__gt__`, `__le__`, `__lt__`, `__ne__`, `__nonzero__`, `compose`, `decRef`, `getAttr`, `getClassId`, `getClassName`, `getComm`, `getDict`, `getName`, `getRefCount`, `getTabLevel`, `incRef`, `incrementTabLevel`, `query`, `setAttr`, `setName`, `setTabLevel`, `stateIncrease`, `viewFromOptions`

Properties | [hide private]

| appctx
| atol
| converged
| diverged
| divtol
| dm
| guess_knoll
| guess_nonzero
| history
| iterating
| its
| mat_op
| mat_pc
| max_it
| norm
| norm_type
| pc
| pc_side
| reason
| rtol
| vec_rhs
| vec_sol
Inherited from `Object`: `classid`, `comm`, `fortran`, `handle`, `klass`, `name`, `prefix`, `refcount`, `type`

Method Details | [hide private]

### __new__(S, ...)

Returns: a new object with type S, a subtype of T
Overrides: Object.__new__

### destroy(self)

Overrides: Object.destroy

### getOptionsPrefix(self)

Overrides: Object.getOptionsPrefix

### getType(self)

Overrides: Object.getType

### setFromOptions(self)

Overrides: Object.setFromOptions

### setOptionsPrefix(self, prefix)

Overrides: Object.setOptionsPrefix

### view(self, Viewer viewer=None)

Overrides: Object.view