#
# vanderpol.py
#
# PyDSTool Python file for the vector field named: vanderpol
#
# This file was generated by the program VFGEN (Version:2.4.0)
# Generated on 10-Jul-2008 at 17:42
#

import PyDSTool

#
# args()
#
# This function creates a PyDSTool 'args' object for the
# 'vanderpol' vector field.
#

def args():
    """
    This function creates a PyDSTool 'args' object for the
    'vanderpol' vector field.
    """
    DSargs = PyDSTool.args()
    DSargs.name = 'vanderpol'
    DSargs.pars = {'epsilon':2.0000000000000001e-01}
    DSargs.varspecs = {'x':'1.0/epsilon*( y+x+-3.3333333333333331e-01*(x*x*x))', 'y':'-x'}
    DSargs.fnspecs = {'Jacobian': (['t', 'x', 'y'],
            """[[1.0/epsilon*(-(x*x)+1.0), 1.0/(epsilon)],
                [-1.0, 0.0]]""")}
    DSargs.ics = {'x':1.0000000000000000e-02, 'y':0.0}
    DSargs.tdomain = [0,10]
    return DSargs
