petsc4py.PETSc.TAO

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

# Class TAO

TAO Solver

Nested Classes | [hide private]
| Reason TAO Solver Termination Reasons
| Type TAO Solver Types

Instance Methods | [hide private]
a new object with type S, a subtype of T |
__new__(S, ...) |
cancelMonitor(self) |
computeConstraints(self, Vec x, Vec c) |
computeDualVariables(self, Vec xl, Vec xu) |
computeGradient(self, Vec x, Vec g) |
computeHessian(self, Vec x, Mat H, Mat P=None) |
computeJacobian(self, Vec x, Mat J, Mat P=None) |
computeObjective(self, Vec x) |
computeObjectiveGradient(self, Vec x, Vec g) |
computeSeparableObjective(self, Vec x, Vec f) |
computeVariableBounds(self, Vec xl, Vec xu) |
create(self, comm=None) |
destroy(self) |
getAppCtx(self) |
getConstraintTolerances(self) |
getConvergedReason(self) |
getConvergenceTest(self) |
getFunctionValue(self) |
getGradient(self) |
getGradientNorm(self) |
getIterationNumber(self) |
getKSP(self) |
getLMVMH0(self) |
getLMVMH0KSP(self) |
getMonitor(self) |
getObjectiveValue(self) |
getOptionsPrefix(self) |
getSolution(self) |
getSolutionNorm(self) |
getSolutionStatus(self) |
getTolerances(self) |
getType(self) |
getVariableBounds(self) |
setAppCtx(self, appctx) |
setConstraintTolerances(self, catol=None, crtol=None) |
setConstraints(self, constraints, Vec C=None, args=None, kargs=None) |
setConvergedReason(self, reason) |
setConvergenceTest(self, converged, args=None, kargs=None) |
setFromOptions(self) |
setGradient(self, gradient, args=None, kargs=None) |
setGradientNorm(self, Mat mat) |
setHessian(self, hessian, Mat H=None, Mat P=None, args=None, kargs=None) |
setInitial(self, Vec x) |
setInitialTrustRegionRadius(self, radius) |
setJacobian(self, jacobian, Mat J=None, Mat P=None, args=None, kargs=None) |
setJacobianDesign(self, jacobian_design, Mat J=None, args=None, kargs=None) |
setJacobianState(self, jacobian_state, Mat J=None, Mat P=None, Mat I=None, args=None, kargs=None) |
setLMVMH0(self, Mat mat) |
setMonitor(self, monitor, args=None, kargs=None) |
setObjective(self, objective, args=None, kargs=None) |
setObjectiveGradient(self, objgrad, args=None, kargs=None) |
setOptionsPrefix(self, prefix) |
setSeparableObjective(self, separable, Vec O=None, args=None, kargs=None) |
setStateDesignIS(self, IS state, IS design) |
setTolerances(self, gatol=None, grtol=None, gttol=None) |
setType(self, tao_type) |
setUp(self) |
setVariableBounds(self, varbounds, args=None, kargs=None) |
solve(self, Vec x=None) |
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` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]
| appctx
| cnorm
| converged
| ctol
| diverged
| ftol
| function
| gnorm
| gradient
| gtol
| iterating
| its
| ksp
| objective
| reason
| solution
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