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 103 104 105 106 107 108 109 110 111 112 113 114
|
<!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>Automatic C Code Generation</TITLE>
<META NAME="description" CONTENT="Automatic C Code Generation">
<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="node41.html">
<LINK REL="previous" HREF="node39.html">
<LINK REL="up" HREF="node34.html">
<LINK REL="next" HREF="node41.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html1036"
HREF="node41.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/lib/latex2html/icons.gif/next_motif.gif"></A>
<A NAME="tex2html1033"
HREF="node34.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/lib/latex2html/icons.gif/up_motif.gif"></A>
<A NAME="tex2html1027"
HREF="node39.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/lib/latex2html/icons.gif/previous_motif.gif"></A>
<A NAME="tex2html1035"
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="tex2html1037"
HREF="node41.html">Default Values</A>
<B> Up:</B> <A NAME="tex2html1034"
HREF="node34.html">Defining Dynamical Systems Using</A>
<B> Previous:</B> <A NAME="tex2html1028"
HREF="node39.html">Temporary Functions</A>
<BR>
<BR>
<!--End of Navigation Panel-->
<H2><A NAME="SECTION00516000000000000000"> </A><A NAME="automatic_c_code_generation"> </A>
<BR>
Automatic C Code Generation
</H2>
<P>
For complicated dynamical systems or analyses which will require
a large amount of computation, the user will wish to code
the dynamical system in C. If the model is written for
the parser, then the parser may be able to do most of the
work of writing the C language procedures necessary to
interface into DsTool. The system can be built and tested using
the parser and when the user has decided on a set of satisfactory initial
conditions and ranges, the user may fill in the Name field with a single
descriptive word and select the Write C code command/window button.
This will generate C code<A NAME="1721"> </A>
for the system, and open the C Code window.
<P>
The code may be immediately edited, if for example the user
wishes to add explicit Jacobian or inverse routines. Additionally,
the C code may be made more efficient or functions may be
implemented which are unavailable in the parser.
Any information which was not supplied through the parser
will be assigned a default value. These are listed in
the table in the following subsection. When the user is finished
making any modifications,
the C code file may be saved and compiled into DsTool in the
standard way. Section <A HREF="node52.html#def_ds"><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]"
SRC="/usr/lib/latex2html/icons.gif/cross_ref_motif.gif"></A> contains a complete description
of this process.
<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1036"
HREF="node41.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/lib/latex2html/icons.gif/next_motif.gif"></A>
<A NAME="tex2html1033"
HREF="node34.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/lib/latex2html/icons.gif/up_motif.gif"></A>
<A NAME="tex2html1027"
HREF="node39.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/lib/latex2html/icons.gif/previous_motif.gif"></A>
<A NAME="tex2html1035"
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="tex2html1037"
HREF="node41.html">Default Values</A>
<B> Up:</B> <A NAME="tex2html1034"
HREF="node34.html">Defining Dynamical Systems Using</A>
<B> Previous:</B> <A NAME="tex2html1028"
HREF="node39.html">Temporary Functions</A>
<!--End of Navigation Panel-->
<ADDRESS>
<I>John Lapeyre</I>
<BR><I>1998-09-04</I>
</ADDRESS>
</BODY>
</HTML>
|