Package PyDSTool :: Module scipy_ode :: Class IntegratorBase
[hide private]
[frames] | no frames]

Class IntegratorBase

source code

object --+
         |
        IntegratorBase
Known Subclasses:

Instance Methods [hide private]
 
reset(self, n, has_jac)
Prepare integrator for call: allocate memory, set flags, etc.
source code
 
run(self, f, jac, y0, t0, t1, f_params, jac_params)
Integrate from t=t0 to t=t1 using y0 as an initial condition.
source code
 
step(self, f, jac, y0, t0, t1, f_params, jac_params)
Make one integration step and return (y1,t1).
source code
 
run_relax(self, f, jac, y0, t0, t1, f_params, jac_params)
Integrate from t=t0 to t>=t1 and return (y1,t).
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  runner = None
  success = None
  supports_run_relax = None
  supports_step = None
  integrator_classes = [<class 'PyDSTool.scipy_ode.vode'>]
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

reset(self, n, has_jac)

source code 

Prepare integrator for call: allocate memory, set flags, etc. n - number of equations. has_jac - if user has supplied function for evaluating Jacobian.

run(self, f, jac, y0, t0, t1, f_params, jac_params)

source code 

Integrate from t=t0 to t=t1 using y0 as an initial condition. Return 2-tuple (y1,t1) where y1 is the result and t=t1 defines the stoppage coordinate of the result.