Differences From Artifact [eed0673833]:
- File
mttroot/mtt/lib/rep/sfun_rep/sfun_interface.c.tmpl
— part of check-in
[0463689b2b]
at
2002-05-27 14:48:34
on branch origin/master
— Inclusion of sympar.h moved to top of file for consistency with other templates.
states and outputs prepended with an underscore to prevent conflicts when
inputs and outputs have the same names. (user: geraint@users.sourceforge.net, size: 5622) [annotate] [blame] [check-ins using] [more...]
To Artifact [2f89b5c9cc]:
- File mttroot/mtt/lib/rep/sfun_rep/sfun_interface.c.tmpl — part of check-in [e168fd1202] at 2002-06-05 10:54:12 on branch origin/master — #include "useful-functions.hh" added to files. (user: geraint@users.sourceforge.net, size: 5653) [annotate] [blame] [check-ins using] [more...]
︙ | |||
8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | + | #define S_FUNCTION_LEVEL 2 #include <math.h> #include <stdio.h> #include <stdlib.h> #include "simstruc.h" #include "sfun_debug.h" #include "useful-functions.hh" #include "<mtt_model_name>_def.h" #include "<mtt_model_name>_sympar.h" static double *mttu; /* pointer to inputs */ static double *mttpar; /* pointer to parameters */ static double *mttx; /* pointer to states */ static double *mtty; /* pointer to outputs */ |
︙ |