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

Class TS


Nested Classes [hide private]
  ProblemType
  Type
Instance Methods [hide private]
a new object with type S, a subtype of T
__new__(S, ...)
 
callMonitor(self, step, time, Vec u=None)
 
cancelMonitor(self)
 
computeFunction(self, t, Vec x, Vec f)
 
computeIFunction(self, t, Vec x, Vec xdot, Vec f)
 
computeIJacobian(self, t, Vec x, Vec xdot, a, Mat J, Mat P=None)
 
computeJacobian(self, t, Vec x, Mat J, Mat P=None)
 
create(self, comm=None)
 
createPython(self, context=None, comm=None)
 
destroy(self)
 
getAppCtx(self)
 
getDuration(self)
 
getFunction(self)
 
getIFunction(self)
 
getIJacobian(self)
 
getJacobian(self)
 
getKSP(self)
 
getMaxSteps(self)
 
getMaxTime(self)
 
getMonitor(self)
 
getOptionsPrefix(self)
 
getPostStep(self)
 
getPreStep(self, prestep)
 
getProblemType(self)
 
getPythonContext(self)
 
getSNES(self)
 
getSolution(self)
 
getStepNumber(self)
 
getTime(self)
 
getTimeStep(self)
 
getType(self)
 
getUseFD(self)
 
setAppCtx(self, appctx)
 
setDuration(self, max_time, max_steps=None)
 
setFromOptions(self)
 
setFunction(self, function, Vec f, *args, **kargs)
 
setIFunction(self, function, *args, **kargs)
 
setIJacobian(self, jacobian, Mat J, Mat P=None, *args, **kargs)
 
setInitialTimeStep(self, initial_time, initial_time_step)
 
setJacobian(self, jacobian, Mat J, Mat P=None, *args, **kargs)
 
setMaxSteps(self, max_steps)
 
setMaxTime(self, max_time)
 
setMonitor(self, monitor, *args, **kargs)
 
setOptionsPrefix(self, prefix)
 
setPostStep(self, poststep, *args, **kargs)
 
setPreStep(self, prestep, *args, **kargs)
 
setProblemType(self, ptype)
 
setPythonContext(self, context)
 
setPythonType(self, py_type)
 
setSolution(self, Vec u)
 
setStepNumber(self, step_number)
 
setTime(self, t)
 
setTimeStep(self, time_step)
 
setType(self, ts_type)
 
setUseFD(self, flag=True)
 
solve(self, Vec u)
 
view(self, Viewer viewer=None)

Inherited from Object: __eq__, __ge__, __gt__, __le__, __lt__, __ne__, __nonzero__, compose, decRef, getAttr, getClassName, getComm, getCookie, getDict, getName, getRefCount, incRef, query, setAttr, setName

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  appctx
  ksp
  max_steps
  max_time
  problem_type
  snes
  step_number
  time
  time_step
  use_fd
  vec_sol

Inherited from Object: comm, cookie, fortran, 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