Package petsc4py :: Module PETSc :: Class TS

[hide private]
[frames] | no frames]

# Class TS

Nested Classes | [hide private]

| ConvergedReason
| EquationType
| ExactFinalTime
| ExactFinalTimeOption
| ProblemType
| Type

Instance Methods | [hide private]

a new object with type S, a subtype of T

__new__(S, ...) |

cancelMonitor(self) |

clone(self) |

computeIFunction(self, t, Vec x, Vec xdot, Vec f, imex=False) |

computeIJacobian(self, t, Vec x, Vec xdot, a, Mat J, Mat P=None, imex=False) |

computeRHSFunction(self, t, Vec x, Vec f) |

computeRHSFunctionLinear(self, t, Vec x, Vec f) |

computeRHSJacobian(self, t, Vec x, Mat J, Mat P=None) |

computeRHSJacobianConstant(self, t, Vec x, Mat J, Mat P=None) |

create(self, comm=None) |

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

destroy(self) |

getAlphaParams(self) |

getAppCtx(self) |

getConvergedReason(self) |

getDM(self) |

getDuration(self) |

getEquationType(self) |

getIFunction(self) |

getIJacobian(self) |

getKSP(self) |

getKSPIterations(self) |

getMaxSteps(self) |

getMaxTime(self) |

getMonitor(self) |

getOptionsPrefix(self) |

getPostStep(self) |

getPreStep(self) |

getPrevTime(self) |

getProblemType(self) |

getPythonContext(self) |

getRHSFunction(self) |

getRHSJacobian(self) |

getSNES(self) |

getSNESFailures(self) |

getSNESIterations(self) |

getSolution(self) |

getSolveTime(self) |

getStepNumber(self) |

getStepRejections(self) |

getTheta(self) |

getThetaEndpoint(self) |

getTime(self) |

getTimeStep(self) |

getTolerances(self) |

getTotalSteps(self) |

getType(self) |

interpolate(self, t, Vec u) |

load(self, Viewer viewer) |

monitor(self, step, time, Vec u=None) |

reset(self) |

rollBack(self) |

setAlphaParams(self, alpha_m=None, alpha_f=None, gamma=None) |

setAlphaRadius(self, radius) |

setAppCtx(self, appctx) |

setConvergedReason(self, reason) |

setDM(self, DM dm) |

setDuration(self, max_time, max_steps=None) |

setEquationType(self, eqtype) |

setErrorIfStepFails(self, flag=True) |

setExactFinalTime(self, option) |

setFromOptions(self) |

setIFunction(self, function, Vec f=None, args=None, kargs=None) |

setIJacobian(self, jacobian, Mat J=None, Mat P=None, args=None, kargs=None) |

setInitialTimeStep(self, initial_time, initial_time_step) |

setMaxSNESFailures(self, n) |

setMaxStepRejections(self, n) |

setMaxSteps(self, max_steps) |

setMaxTime(self, max_time) |

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

setOptionsPrefix(self, prefix) |

setPostStep(self, poststep, args=None, kargs=None) |

setPreStep(self, prestep, args=None, kargs=None) |

setProblemType(self, ptype) |

setPythonContext(self, context) |

setPythonType(self, py_type) |

setRHSFunction(self, function, Vec f=None, args=None, kargs=None) |

setRHSJacobian(self, jacobian, Mat J=None, Mat P=None, args=None, kargs=None) |

setSolution(self, Vec u) |

setStepNumber(self, step_number) |

setTheta(self, theta) |

setThetaEndpoint(self, flag=True) |

setTime(self, t) |

setTimeStep(self, time_step) |

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

setType(self, ts_type) |

setUp(self) |

solve(self, Vec u) |

step(self) |

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
| atol
| converged
| diverged
| dm
| equation_type
| iterating
| ksp
| max_steps
| max_time
| problem_type
| reason
| rtol
| snes
| step_number
| time
| time_step
| vec_sol
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