I understand that it's able to setup an ode function like this:

DSargs.pars = { 'rou': 1,
                'omega': 5,
                'sigma': 1,
                'convrate': 10}

DSargs.varspecs = {'y': '-convrate*((y*y+dy*dy)/(rou*rou)-sigma)*y - omega*dy',
                   'dy': 'omega*y - convrate*((y*y+dy*dy)/(rou*rou)-sigma)*dy' }

What if the function is more complex and needs to define by a separate function, rather than a string?




National Center for Computer Animation
Bournemouth University
United Kingdom

BU is a Disability Two Ticks Employer and has signed up to the Mindful Employer charter. Information about the accessibility of University buildings can be found on the BU DisabledGo webpages

This email is intended only for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email, which must not be copied, distributed or disclosed to any other person.

Any views or opinions presented are solely those of the author and do not necessarily represent those of Bournemouth University or its subsidiary companies. Nor can any contract be formed on behalf of the University or its subsidiary companies via email.

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.