petsc4py.PETSc.SNES

Package petsc4py :: Module PETSc :: Class SNES |
[hide private]
[frames] | no frames]

# Class SNES

Nested Classes | [hide private]
| ConvergedReason
| NormSchedule
| Type

Instance Methods | [hide private]
a new object with type S, a subtype of T |
__new__(S, ...) |
callConvergenceTest(self, its, xnorm, ynorm, fnorm) |
cancelMonitor(self) |
computeFunction(self, Vec x, Vec f) |
computeJacobian(self, Vec x, Mat J, Mat P=None) |
computeNGS(self, Vec x, Vec b=None) |
computeObjective(self, Vec x) |
create(self, comm=None) |
createPython(self, context=None, comm=None) |
destroy(self) |
getAppCtx(self) |
getCompositeNumber(self) |
getCompositeSNES(self, n) |
getConvergedReason(self) |
getConvergenceHistory(self) |
getConvergenceTest(self) |
getDM(self) |
getFASCoarseSolve(self) |
getFASCycleSNES(self, level) |
getFASInjection(self, level) |
getFASInterpolation(self, level) |
getFASLevels(self) |
getFASRestriction(self, level) |
getFASSmoother(self, level) |
getFASSmootherDown(self, level) |
getFASSmootherUp(self, level) |
getFunction(self) |
getFunctionEvaluations(self) |
getFunctionNorm(self) |
getInitialGuess(self) |
getIterationNumber(self) |
getJacobian(self) |
getKSP(self) |
getKSPFailures(self) |
getLinearSolveFailures(self) |
getLinearSolveIterations(self) |
getMaxFunctionEvaluations(self) |
getMaxKSPFailures(self) |
getMaxLinearSolveFailures(self) |
getMaxNonlinearStepFailures(self) |
getMaxStepFailures(self) |
getMonitor(self) |
getNASMNumber(self) |
getNASMSNES(self, n) |
getNGS(self) |
getNPC(self) |
getNonlinearStepFailures(self) |
getNormSchedule(self) |
getObjective(self) |
getOptionsPrefix(self) |
getParamsEW(self) |
getPythonContext(self) |
getRhs(self) |
getSolution(self) |
getSolutionUpdate(self) |
getStepFailures(self) |
getTolerances(self) |
getType(self) |
getUpdate(self) |
getUseEW(self) |
getUseFD(self) |
getUseMF(self) |
getVIInactiveSet(self) |
hasNPC(self) |
logConvergenceHistory(self, norm, linear_its=0) |
monitor(self, its, rnorm) |
reset(self) |
setAppCtx(self, appctx) |
setConvergedReason(self, reason) |
setConvergenceHistory(self, length=None, reset=False) |
setConvergenceTest(self, converged, args=None, kargs=None) |
setDM(self, DM dm) |
setFASInjection(self, level, Mat mat) |
setFASInterpolation(self, level, Mat mat) |
setFASLevels(self, levels, comms=None) |
setFASRScale(self, level, Vec vec) |
setFASRestriction(self, level, Mat mat) |
setFromOptions(self) |
setFunction(self, function, Vec f, args=None, kargs=None) |
setFunctionNorm(self, norm) |
setInitialGuess(self, initialguess, args=None, kargs=None) |
setIterationNumber(self, its) |
setJacobian(self, jacobian, Mat J=None, Mat P=None, args=None, kargs=None) |
setKSP(self, KSP ksp) |
setLineSearchPreCheck(self, precheck, args=None, kargs=None) |
setMaxFunctionEvaluations(self, max_funcs) |
setMaxKSPFailures(self, max_fails) |
setMaxLinearSolveFailures(self, max_fails) |
setMaxNonlinearStepFailures(self, max_fails) |
setMaxStepFailures(self, max_fails) |
setMonitor(self, monitor, args=None, kargs=None) |
setNGS(self, ngs, args=None, kargs=None) |
setNPC(self, SNES snes) |
setNormSchedule(self, normsched) |
setObjective(self, objective, args=None, kargs=None) |
setOptionsPrefix(self, prefix) |
setParamsEW(self, version=None, rtol_0=None, rtol_max=None, gamma=None, alpha=None, alpha2=None, threshold=None) |
setPatchCellNumbering(self, Section sec) |
setPatchComputeFunction(self, function, args=None, kargs=None) |
setPatchComputeOperator(self, operator, args=None, kargs=None) |
setPatchConstructType(self, typ, operator=None, args=None, kargs=None) |
setPatchDiscretisationInfo(self, dms, bs, cellNodeMaps, subspaceOffsets, ghostBcNodes, globalBcNodes) |
setPythonContext(self, context) |
setPythonType(self, py_type) |
setResetCounters(self, reset=True) |
setSolution(self, Vec vec) |
setTolerances(self, rtol=None, atol=None, stol=None, max_it=None) |
setType(self, snes_type) |
setUp(self) |
setUpdate(self, update, args=None, kargs=None) |
setUseEW(self, flag=True, *targs, **kargs) |
setUseFD(self, flag=True) |
setUseMF(self, flag=True) |
setVariableBounds(self, Vec xl, Vec xu) |
solve(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` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]
| appctx
| atol
| converged
| diverged
| dm
| history
| iterating
| its
| ksp
| max_funcs
| max_it
| norm
| npc
| reason
| rtol
| stol
| use_ew
| use_fd
| use_mf
| vec_rhs
| vec_sol
| vec_upd
Inherited from `Object`: `classid`, `comm`, `fortran`, `handle`, `klass`, `name`, `prefix`, `refcount`, `type` Inherited from `object`: `__class__`

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