90 check-ins using file mttroot/mtt/lib/rep/sfun_rep/mdl.tmpl version 16ba1b6745

2002-07-10
15:02:33
Updated from main branch. check-in: 4749685170 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
15:02:33
Updated from main branch. check-in: a21872f505 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
14:55:19
Created branch optimise-algebraic-equations check-in: d7af98a1ba user: gawthrop@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
14:55:19
Created branch optimise-algebraic-equations check-in: 0402a842d6 user: gawthrop@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
2002-06-21
13:30:59
Reformat input line for rates and outputs as well as algebraic equations. check-in: a5d8bcd452 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
13:30:59
Reformat input line for rates and outputs as well as algebraic equations. check-in: 0dbaa74d0a user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
2002-06-18
16:56:51
Trying to get optimisation to work with maxima. check-in: 878c509228 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
16:56:51
Trying to get optimisation to work with maxima. check-in: 2eee9281c7 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
2002-06-17
14:30:34
Does not now define Octave functions unless explicitly compiling for STANDALONE or OCTAVEDLD. check-in: 0c91fc17d1 user: geraint@users.sourceforge.net tags: origin/master, trunk
14:30:34
Does not now define Octave functions unless explicitly compiling for STANDALONE or OCTAVEDLD. check-in: 686b1d6c71 user: geraint@users.sourceforge.net tags: origin/master, trunk
14:28:39
c files now #include sys_cr.h. check-in: 168a121b9d user: geraint@users.sourceforge.net tags: origin/master, trunk
14:28:39
c files now #include sys_cr.h. check-in: 5680e6e905 user: geraint@users.sourceforge.net tags: origin/master, trunk
13:14:50
Fixed some rules to reduce number of implicit rule searches. check-in: 9eeb158052 user: geraint@users.sourceforge.net tags: origin/master, trunk
13:14:50
Fixed some rules to reduce number of implicit rule searches. check-in: 4c106ece36 user: geraint@users.sourceforge.net tags: origin/master, trunk
08:50:00
Changed pattern to prevent 'max(' from being translated to 'mamttx('. check-in: 623234b6c9 user: geraint@users.sourceforge.net tags: origin/master, trunk
08:50:00
Changed pattern to prevent 'max(' from being translated to 'mamttx('. check-in: 117f434d2c user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-06-11
11:25:25
No longer delay the simulated data. check-in: ecd25de368 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:25:25
No longer delay the simulated data. check-in: 760d46856c user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-06-10
23:22:16
Fixed problem with Matlab fsolve failing because of "user function returned Inf or Nan" (fsolve.m, line 245). check-in: 718f8cde73 user: geraint@users.sourceforge.net tags: origin/master, trunk
23:22:16
Fixed problem with Matlab fsolve failing because of "user function returned Inf or Nan" (fsolve.m, line 245). check-in: ff8ee3f10c user: geraint@users.sourceforge.net tags: origin/master, trunk
23:20:14
Commented out definition of bool - problematic if declared elsewhere. check-in: 53aac86d96 user: geraint@users.sourceforge.net tags: origin/master, trunk
23:20:14
Commented out definition of bool - problematic if declared elsewhere. check-in: 997ad24a1a user: geraint@users.sourceforge.net tags: origin/master, trunk
23:18:44
Adjusted cr.h comment delimiters to be C compliant. check-in: e24b2700be user: geraint@users.sourceforge.net tags: origin/master, trunk
23:18:44
Adjusted cr.h comment delimiters to be C compliant. check-in: 96ec7a1a1c user: geraint@users.sourceforge.net tags: origin/master, trunk
23:00:24
typo. check-in: 9421f43e15 user: geraint@users.sourceforge.net tags: origin/master, trunk
23:00:24
typo. check-in: 41aed42be2 user: geraint@users.sourceforge.net tags: origin/master, trunk
22:55:48
Corrected broken test for debug. check-in: 9acdf436b1 user: geraint@users.sourceforge.net tags: origin/master, trunk
22:55:48
Corrected broken test for debug. check-in: 02f82e2d53 user: geraint@users.sourceforge.net tags: origin/master, trunk
19:25:00
Replaced dummy check for valid input with a less broken dummy function. check-in: 5ab08d6d57 user: geraint@users.sourceforge.net tags: origin/master, trunk
19:25:00
Replaced dummy check for valid input with a less broken dummy function. check-in: 1855b1a205 user: geraint@users.sourceforge.net tags: origin/master, trunk
10:43:19
ode2odes now prerequisite for sim.m and ssim.m check-in: e65c007d3a user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:43:19
ode2odes now prerequisite for sim.m and ssim.m check-in: 45e6d55c23 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:58:54
Added versiin for sEMTF check-in: 32f1c6108e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:58:54
Added versiin for sEMTF check-in: 297cb7edcf user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:27:33
Updated description check-in: 6c463de05f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:27:33
Updated description check-in: 2ae4b74e9d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-06-06
17:10:25
Added a couple more simplification rules for pow. check-in: 697e0dcbed user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
17:10:25
Added a couple more simplification rules for pow. check-in: f3c3283818 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
16:28:45
Eliminated use of variable to pass rhs expression to optimise check-in: c355dc9a3f user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
16:28:45
Eliminated use of variable to pass rhs expression to optimise check-in: e76e07bbf8 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
2002-06-05
23:34:33
Eliminated argument list too long warnings.
Now get a Segmentation Fault with very long equations!
check-in: df4560e091 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
23:34:33
Eliminated argument list too long warnings.
Now get a Segmentation Fault with very long equations!
check-in: 933d9dfb7c user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
18:23:38
Cosmetic change. check-in: 56f530fcb4 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
18:23:38
Cosmetic change. check-in: 8732fbf4bf user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
17:57:50
Main part of optimisation routine moved to separate file. check-in: 9e8650bb26 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
17:57:50
Main part of optimisation routine moved to separate file. check-in: 6be8a1a0f2 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
17:28:00
Cosmetic change. check-in: 96f269ef83 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
17:28:00
Cosmetic change. check-in: a922f43a0b user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
17:27:18
commented out incomplete debugging code. check-in: a7340b2ea2 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
17:27:18
commented out incomplete debugging code. check-in: 29717cdd60 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
15:22:11
fix_c.r called at ese2rdae stage so that pow gets fixed in ae.r. check-in: 64117a2b31 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
15:22:11
fix_c.r called at ese2rdae stage so that pow gets fixed in ae.r. check-in: 9f3e8d8749 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
11:14:51
ae.r now generated using def2write_r like cse?.r
fix_c.r called at ese2rdae stage so that pow gets fixed in ae.r.

These changes produce the desired result (optimised algebraic equations) but
have highlighted a problem; when optimisation fails, Reduce does not write
a result. For complicated systems, this can lead to missing assignments in
the resultant code. check-in: ea9834becc user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk

11:14:51
ae.r now generated using def2write_r like cse?.r
fix_c.r called at ese2rdae stage so that pow gets fixed in ae.r.

These changes produce the desired result (optimised algebraic equations) but
have highlighted a problem; when optimisation fails, Reduce does not write
a result. For complicated systems, this can lead to missing assignments in
the resultant code. check-in: cc69033e71 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk

10:54:13
Created branch optimise-algebraic-equations check-in: 28ad1630ec user: gawthrop@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
10:54:13
Created branch optimise-algebraic-equations check-in: 22a486b2d4 user: gawthrop@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
10:54:12
#include "useful-functions.hh" added to files. check-in: e168fd1202 user: geraint@users.sourceforge.net tags: origin/master, trunk
10:54:12
#include "useful-functions.hh" added to files. check-in: aebab108aa user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-05-29
18:40:43
Made file C compliant. check-in: 27de151df7 user: geraint@users.sourceforge.net tags: origin/master, trunk
18:40:43
Made file C compliant. check-in: 548898eb7b user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-05-28
22:52:48
Starting to move rep into single file. check-in: 5cb35287c8 user: geraint@users.sourceforge.net tags: origin/master, trunk
22:52:48
Starting to move rep into single file. check-in: c67b2b80bd user: geraint@users.sourceforge.net tags: origin/master, trunk
18:08:38
Fixed [ 547294 ] CRs are not sought from MTT_CRS. check-in: e4e5e97c5b user: geraint@users.sourceforge.net tags: origin/master, trunk
18:08:38
Fixed [ 547294 ] CRs are not sought from MTT_CRS. check-in: 4dfbd260d8 user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-05-27
15:30:41
Replaced awk with gawk (managed to unlock file at last). check-in: aead96b7ab user: geraint@users.sourceforge.net tags: origin/master, trunk
15:30:41
Replaced awk with gawk (managed to unlock file at last). check-in: db13038a62 user: geraint@users.sourceforge.net tags: origin/master, trunk
15:18:48
Trying to get rid of this! check-in: 86612195ab user: geraint@users.sourceforge.net tags: origin/master, trunk
15:18:48
Trying to get rid of this! check-in: d73843e4d8 user: geraint@users.sourceforge.net tags: origin/master, trunk
14:52:15
Parameters in sfun reps are now declared using sympar.h at the top of the
sfun*.c file instead of in individual functions. This causes the optimisation
variables (mtt_tmp*) to be declared correctly without causing conflicts in the
scope of parameter declarations.
check-in: bdfbe12d56 user: geraint@users.sourceforge.net tags: origin/master, trunk
14:52:15
Parameters in sfun reps are now declared using sympar.h at the top of the
sfun*.c file instead of in individual functions. This causes the optimisation
variables (mtt_tmp*) to be declared correctly without causing conflicts in the
scope of parameter declarations.
check-in: dc3ec712bc user: geraint@users.sourceforge.net tags: origin/master, trunk
14:48:34
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. check-in: 0463689b2b user: geraint@users.sourceforge.net tags: origin/master, trunk

14:48:34
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. check-in: 373df68651 user: geraint@users.sourceforge.net tags: origin/master, trunk

13:19:09
Added "#include <math.h>". check-in: cbc3f2e90e user: geraint@users.sourceforge.net tags: origin/master, trunk
13:19:09
Added "#include <math.h>". check-in: 1d4f30f139 user: geraint@users.sourceforge.net tags: origin/master, trunk
10:36:21
Fix for bug [553524] #define PI causes parse error.
Only substitutes for PI if it is not a number. This prevents Reduce from
trying to substitute for 3.14... when "on rounded" has been set.
check-in: adc4f01f84 user: geraint@users.sourceforge.net tags: origin/master, trunk
10:36:21
Fix for bug [553524] #define PI causes parse error.
Only substitutes for PI if it is not a number. This prevents Reduce from
trying to substitute for 3.14... when "on rounded" has been set.
check-in: 5955810cef user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-05-26
17:28:27
Tweaked figures again check-in: 974eef3cb5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:28:27
Tweaked figures again check-in: be0199de5d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-25
09:23:47
Self-naming components: name is mttTYPE or mttTYPE_2 ... check-in: bef089cdef user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:23:47
Self-naming components: name is mttTYPE or mttTYPE_2 ... check-in: bb99b2427e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-24
16:19:42
Builds Simulink .mdl as well as sys_sfun.mexglx. check-in: d23074a21b user: geraint@users.sourceforge.net tags: origin/master, trunk
16:19:42
Builds Simulink .mdl as well as sys_sfun.mexglx. check-in: 26c6d89108 user: geraint@users.sourceforge.net tags: origin/master, trunk
11:04:10
Removed unnecessary message about *.log file not existing when -D option is used. check-in: 16d5375ac8 user: geraint@users.sourceforge.net tags: origin/master, trunk
11:04:10
Removed unnecessary message about *.log file not existing when -D option is used. check-in: 0ff1595929 user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-05-23
17:27:06
Made output of U and parameters consistent. check-in: 6c8bf9597f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:27:06
Made output of U and parameters consistent. check-in: e9bb3a6549 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:26:07
Cosmetic tweaks to graphs check-in: 4d5e314d90 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:26:07
Cosmetic tweaks to graphs check-in: 6964cc60f6 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:08:21
`mtt sys sfun zip` now produces an input block and an interface block for MTT models.
Models can be embedded within larger Simulink models by the 2 ports.
The user must edit 2 code blocks in <sys>_sfun_interface.c before compiling with mex.
check-in: 0ae1960649 user: geraint@users.sourceforge.net tags: origin/master, trunk
17:08:21
`mtt sys sfun zip` now produces an input block and an interface block for MTT models.
Models can be embedded within larger Simulink models by the 2 ports.
The user must edit 2 code blocks in <sys>_sfun_interface.c before compiling with mex.
check-in: 79e087b982 user: geraint@users.sourceforge.net tags: origin/master, trunk

MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]