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

Class vode

source code

    object --+    
             |    
IntegratorBase --+
                 |
                vode

Instance Methods [hide private]
 
__init__(self, method='adams', with_jacobian=0, rtol=1e-06, atol=1e-12, lband=None, uband=None, order=12, nsteps=500, max_step=0.0, min_step=0.0, first_step=0.0)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
reset(self, n, has_jac)
Prepare integrator for call: allocate memory, set flags, etc.
source code
 
run(self, *args)
Integrate from t=t0 to t=t1 using y0 as an initial condition.
source code
 
step(self, *args)
Make one integration step and return (y1,t1).
source code
 
run_relax(self, *args)
Integrate from t=t0 to t>=t1 and return (y1,t).
source code

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

Class Variables [hide private]
  _vode
This module 'vode' is auto-generated with f2py (version:2_5540).
  runner = getattr(_vode, 'dvode', None)
  messages = {-6: 'Error weight became zero during problem. (Sol...
  supports_run_relax = 1
  supports_step = 1

Inherited from IntegratorBase: integrator_classes, success

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, method='adams', with_jacobian=0, rtol=1e-06, atol=1e-12, lband=None, uband=None, order=12, nsteps=500, max_step=0.0, min_step=0.0, first_step=0.0)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

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.

Overrides: IntegratorBase.reset
(inherited documentation)

run(self, *args)

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.

Overrides: IntegratorBase.run
(inherited documentation)

step(self, *args)

source code 

Make one integration step and return (y1,t1).

Overrides: IntegratorBase.step
(inherited documentation)

run_relax(self, *args)

source code 

Integrate from t=t0 to t>=t1 and return (y1,t).

Overrides: IntegratorBase.run_relax
(inherited documentation)

Class Variable Details [hide private]

_vode

This module 'vode' is auto-generated with f2py (version:2_5540).
Functions:
  y,t,istate = dvode(f,jac,y,t,tout,rtol,atol,itask,istate,rwork,iwork,mf,f_extra_args=(),jac_extra_args=(),overwrite_y=0)
  y,t,istate = zvode(f,jac,y,t,tout,rtol,atol,itask,istate,zwork,rwork,iwork,mf,f_extra_args=(),jac_extra_args=(),overwrite_y=0)
.

Value:
scipy.integrate.vode

messages

Value:
{-6: 'Error weight became zero during problem. (Solution component i v\
anished, and ATOL or ATOL(i) = 0.)',
 -5: 'Repeated convergence failures. (Perhaps bad Jacobian supplied or\
 wrong choice of MF or tolerances.)',
 -4: 'Repeated error test failures. (Check all input.)',
 -3: 'Illegal input detected. (See printed message.)',
 -2: 'Excess accuracy requested. (Tolerances too small.)',
 -1: 'Excess work done on this call. (Perhaps wrong MF.)'}