Index: mttroot/mtt/doc/mtt.texi ================================================================== --- mttroot/mtt/doc/mtt.texi +++ mttroot/mtt/doc/mtt.texi @@ -14,10 +14,13 @@ @comment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @comment Version control history @comment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @comment $Id$ @comment $Log$ +@comment Revision 1.26 2005/01/06 12:28:36 geraint +@comment Minor typos. +@comment @comment Revision 1.25 2004/08/27 20:12:34 geraint @comment Added note about "none" as an option for units. @comment @comment Revision 1.24 2004/08/13 01:39:24 geraint @comment Fixed variable names in diy makefile example (again) @@ -1732,11 +1735,11 @@ @end example @noindent An alternative (but more general) way of achieving the same result is @example -mtt -c rc odeso view +mtt -cc rc odeso view @end example @noindent View the system transfer function @example @@ -1778,11 +1781,11 @@ mtt rc sro ps mtt rc lmfr ps mtt rc odes h mtt rc numpar txt mtt rc input txt -mtt -c rc odeso ps +mtt -cc rc odeso ps mtt rc rep txt @end example A non-hypertext version can be viewed using: @example mtt rc rep view @@ -2035,13 +2038,13 @@ There are a number solution algorithms available: @itemize @bullet @item explicit solution via the matrix exponential @item -backward Euler integration (explicit) +backward Euler integration (implicit) @item -forward Euler integration (implicit) +forward Euler integration (explicit) @item Runge Kutta IV integration (explicit, fixed step) @item Hybrd algebraic solver (MINPACK, Octave fsolve) @c @item @@ -2062,16 +2065,16 @@ representation using explicit solution via the matrix exponential. @c @item mtt system odeso view @c creates the step response of a @emph{nonlinear} system via the @c system_ode.m representation using either METHOD=Euler or @c METHOD=LSODE in the parameter file (@pxref{Simulation parameters}). -@item mtt -c system odeso view +@item mtt -cc system odeso view creates the response of a @emph{nonlinear} system via the -system_ode.c representation using implicit integration. -@item mtt -c -i euler system odeso view +system_ode.cc representation using implicit integration. +@item mtt -cc -i euler system odeso view creates the response of a @emph{nonlinear} system via the -system_ode.c representation using euler integration. +system_ode.cc representation using euler integration. @end ftable Simulation parameters are described in the system_simpar.txt file (@pxref{Simulation parameters}). @@ -2448,11 +2451,11 @@ @section Simulation code simulation code can be generated by @strong{MTT} in the form of the @code{ode2odes} transformation. This can be produced in a number of languages, including .m, .oct, C and C++ @pxref{Languages}. -To generate simulation code in C: +To generate simulation code in C (deprecated): @example mtt -c [options] sys ode2odes c @end example Similarly, to generate C++ code: @@ -2526,15 +2529,15 @@ plot the variable with name2 against that with name 1 @end ftable An example of plotting a single variable against time is: @example -mtt -o -c -ss OttoCycle odeso ps 'OttoCycle_cycle_V' +mtt -o -cc -ss OttoCycle odeso ps 'OttoCycle_cycle_V' @end example An example of plotting one variable against another is: @example -mtt -o -c -ss OttoCycle odeso ps 'OttoCycle_cycle_V:OttoCycle_cycle_P' +mtt -o -cc -ss OttoCycle odeso ps 'OttoCycle_cycle_V:OttoCycle_cycle_P' @end example @menu * Viewing results with gnuplot:: * Exporting results to SciGraphica:: @@ -4705,10 +4708,13 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.26 2005/01/06 12:28:36 geraint +# %% Minor typos. +# %% # %% Revision 1.25 2004/08/27 20:12:34 geraint # %% Added note about "none" as an option for units. # %% # %% Revision 1.24 2004/08/13 01:39:24 geraint # %% Fixed variable names in diy makefile example (again)