petsc4py.PETSc.TS

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

# Class TS

Nested Classes | [hide private]
| ARKIMEXType
| ConvergedReason
| EquationType
| ExactFinalTime
| ExactFinalTimeOption
| ProblemType
| RKType
| Type

Instance Methods | [hide private]
a new object with type S, a subtype of T |
__new__(S, ...) |
adjointSetSteps(self, adjoint_steps) |
adjointSetUp(self) |
adjointSolve(self) |
adjointStep(self) |
cancelMonitor(self) |
clone(self) |
computeI2Function(self, t, Vec x, Vec xdot, Vec xdotdot, Vec f) |
computeI2Jacobian(self, t, Vec x, Vec xdot, Vec xdotdot, v, a, Mat J, Mat P=None) |
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) |
computeIJacobianP(self, t, Vec x, Vec xdot, a, Mat J, 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) |
computeRHSJacobianP(self, t, Vec x, Mat J) |
create(self, comm=None) |
createPython(self, context=None, comm=None) |
createQuadratureTS(self, forward=True) |
destroy(self) |
getARKIMEXType(self) |
getAlphaParams(self) |
getAppCtx(self) |
getConvergedReason(self) |
getCostGradients(self) |
getCostIntegral(self) |
getDM(self) |
getEquationType(self) |
getI2Function(self) |
getI2Jacobian(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) |
getQuadratureTS(self) |
getRHSFunction(self) |
getRHSJacobian(self) |
getRKType(self) |
getSNES(self) |
getSNESFailures(self) |
getSNESIterations(self) |
getSolution(self) |
getSolution2(self) |
getSolveTime(self) |
getStepNumber(self) |
getStepRejections(self) |
getTheta(self) |
getThetaEndpoint(self) |
getTime(self) |
getTimeStep(self) |
getTolerances(self) |
getType(self) |
interpolate(self, t, Vec u) |
load(self, Viewer viewer) |
monitor(self, step, time, Vec u=None) |
reset(self) |
restartStep(self) |
rollBack(self) |
setARKIMEXType(self, ts_type) |
setAlphaParams(self, alpha_m=None, alpha_f=None, gamma=None) |
setAlphaRadius(self, radius) |
setAppCtx(self, appctx) |
setConvergedReason(self, reason) |
setCostGradients(self, vl, vm=None) |
setDM(self, DM dm) |
setEquationType(self, eqtype) |
setErrorIfStepFails(self, flag=True) |
setExactFinalTime(self, option) |
setFromOptions(self) |
setI2Function(self, function, Vec f=None, args=None, kargs=None) |
setI2Jacobian(self, jacobian, Mat J=None, Mat P=None, args=None, kargs=None) |
setIFunction(self, function, Vec f=None, args=None, kargs=None) |
setIJacobian(self, jacobian, Mat J=None, Mat P=None, args=None, kargs=None) |
setIJacobianP(self, jacobian, Mat J=None, args=None, kargs=None) |
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) |
setRHSJacobianP(self, jacobianp, Mat A=None, args=None, kargs=None) |
setRKType(self, ts_type) |
setSaveTrajectory(self) |
setSolution(self, Vec u) |
setSolution2(self, Vec u, Vec v) |
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`, `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
| 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