1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 98.1p1 release (March 2nd, 1998)
originally by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Defining Labels and Initial Conditions</TITLE>
<META NAME="description" CONTENT="Defining Labels and Initial Conditions">
<META NAME="keywords" CONTENT="userman">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<LINK REL="STYLESHEET" HREF="userman.css">
<LINK REL="next" HREF="node63.html">
<LINK REL="previous" HREF="node56.html">
<LINK REL="up" HREF="node52.html">
<LINK REL="next" HREF="node58.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html1247"
HREF="node58.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/lib/latex2html/icons.gif/next_motif.gif"></A>
<A NAME="tex2html1244"
HREF="node52.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/lib/latex2html/icons.gif/up_motif.gif"></A>
<A NAME="tex2html1238"
HREF="node56.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/lib/latex2html/icons.gif/previous_motif.gif"></A>
<A NAME="tex2html1246"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
SRC="/usr/lib/latex2html/icons.gif/contents_motif.gif"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1248"
HREF="node58.html">Variables</A>
<B> Up:</B> <A NAME="tex2html1245"
HREF="node52.html">Installing a New Dynamical</A>
<B> Previous:</B> <A NAME="tex2html1239"
HREF="node56.html">Defining Auxiliary Functions</A>
<BR>
<BR>
<!--End of Navigation Panel-->
<H2><A NAME="SECTION00625000000000000000"> </A><A NAME="ic"> </A><A NAME="2074"> </A>
<BR>
Defining Labels and Initial Conditions
</H2>
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.
<P>
This section is split into subsections. The subsections describe how to provide
information on variables, parameters, auxiliary functions, periodic variables,
and numerical algorithms.
<P>
Before we begin,
find the code segment of bball_def.c which looks like
<PRE>
/* ------------------------------------------------------------------------
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 --------------- */
...
</PRE>
and change the name of the function from user_init() to bball_init().
<P>
<BR><HR>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"> </A>
<UL>
<LI><A NAME="tex2html1249"
HREF="node58.html">Variables</A>
<LI><A NAME="tex2html1250"
HREF="node59.html">Parameters</A>
<LI><A NAME="tex2html1251"
HREF="node60.html">Auxiliary Functions</A>
<LI><A NAME="tex2html1252"
HREF="node61.html">Periodic Variables</A>
<LI><A NAME="tex2html1253"
HREF="node62.html">Numerical Algorithms</A>
</UL>
<!--End of Table of Child-Links-->
<BR><HR>
<ADDRESS>
<I>John Lapeyre</I>
<BR><I>1998-09-04</I>
</ADDRESS>
</BODY>
</HTML>
|