Defining Labels and Initial Conditions

This section explains how to complete the definition of a dynamical system by giving DsTool information about the structure of phase space, the names of variables, and initial conditions.

This section is split into subsections. The subsections describe how to provide information on variables, parameters, auxiliary functions, periodic variables, and numerical algorithms.

Before we begin, find the code segment of bball_def.c which looks like

/* ------------------------------------------------------------------------
   Procedure to define default data for the dynamical system. NOTE: You
   may change the entries for each variable but DO NOT change the list of
   items.  If a variable is unused, NULL or zero the entry, as appropriate.
   ------------------------------------------------------------------------ */
int user_init()
{
/* ------------ define the dynamical system in this segment --------------- */
...
and change the name of the function from user_init() to bball_init().



Subsections

Adrian Bunk 2001-08-22