50 most recent check-ins that include changes to files matching 'mttroot/mtt/cc/*'
2021-03-01
| ||
11:39:42 | Cleanup repository after cvs2git conversion. check-in: af3953deae user: jeff@gridfinity.com tags: master, trunk | |
11:39:42 | Cleanup repository after cvs2git conversion. check-in: ab2d7dde3e user: jeff@gridfinity.com tags: master, trunk | |
2014-07-13
| ||
13:53:52 |
Fixed some problems with generation of C++ code.
Representations such as ode now appear to have multiple outputs (mttdx,mtty) listed in mtt_header, so the write_cc_header parses the string and only returns the first one. Vector sizes mttnu, mttnx, etc. now appear in the code of sys_ode.m etc., so they are declared as static int in sys_def.h. The following now works properly on Ubuntu 12: mtt -cc -i euler -o rc gnuplot view check-in: 8e2a1aea1b user: geraint@users.sourceforge.net tags: origin/master, trunk | |
13:53:52 |
Fixed some problems with generation of C++ code.
Representations such as ode now appear to have multiple outputs (mttdx,mtty) listed in mtt_header, so the write_cc_header parses the string and only returns the first one. Vector sizes mttnu, mttnx, etc. now appear in the code of sys_ode.m etc., so they are declared as static int in sys_def.h. The following now works properly on Ubuntu 12: mtt -cc -i euler -o rc gnuplot view check-in: 120e7ca80a user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2014-07-12
| ||
22:30:45 | Declare size of vectors (mttnu,mttnx,etc) which now appear in ode code check-in: f282a62064 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
22:30:45 | Declare size of vectors (mttnu,mttnx,etc) which now appear in ode code check-in: 9babb33b13 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
19:24:06 | Include cstdlib (for exit) and cstdio (for EOF) in parse_m2cc.cc check-in: 518b79b6e9 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
19:24:06 | Include cstdlib (for exit) and cstdio (for EOF) in parse_m2cc.cc check-in: a9a6315d9a user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2008-10-04
| ||
15:42:10 | Dash chokes on backtick, so replaced with check-in: 07944028df user: geraint@users.sourceforge.net tags: origin/master, trunk | |
15:42:10 | Dash chokes on backtick, so replaced with check-in: 166c285ec2 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2004-08-29
| ||
03:18:11 | Do not write temporary variables if NUM_OF_TMP_VAR = 0. check-in: 34edbc8745 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
03:18:11 | Do not write temporary variables if NUM_OF_TMP_VAR = 0. check-in: b3f70e2ca1 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2004-02-10
| ||
12:54:55 | Dummy change (testing syncmail). check-in: 71931bacd1 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
12:54:55 | Dummy change (testing syncmail). check-in: 90e7145922 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
11:42:05 | Defined pi to be 3.1416 if M_PI is not defined. check-in: abfa7c8ebf user: geraint@users.sourceforge.net tags: origin/master, trunk | |
11:42:05 | Defined pi to be 3.1416 if M_PI is not defined. check-in: 858295a4d4 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2004-01-26
| ||
18:48:25 | <cmath> must be explicitly included for mex (matlab compiler script) to recognise std::pow. check-in: c85b3640cd user: geraint@users.sourceforge.net tags: origin/master, trunk | |
18:48:25 | <cmath> must be explicitly included for mex (matlab compiler script) to recognise std::pow. check-in: f514d2ac65 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2003-10-20
| ||
17:10:30 | Created tag version-0-1 check-in: e62ad9467f user: gawthrop@users.sourceforge.net tags: origin/master, trunk, version-0-1 | |
17:10:30 | Created tag version-0-1 check-in: 40eb8734da user: gawthrop@users.sourceforge.net tags: origin/master, trunk, version-0-1 | |
2003-09-14
| ||
23:05:47 |
Made pi a constant recognised by MTT for -cc and -oct. Required by NonlinearMSD example. Will cause problems for models which declare pi as a parameter. check-in: b36bb9b4a5 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
23:05:47 |
Made pi a constant recognised by MTT for -cc and -oct. Required by NonlinearMSD example. Will cause problems for models which declare pi as a parameter. check-in: feb8094b4a user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2003-09-13
| ||
22:26:39 | Use std::pow instead of pow to avoid pow double/Complex ambiguity error. check-in: f222810d22 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
22:26:39 | Use std::pow instead of pow to avoid pow double/Complex ambiguity error. check-in: 3be1191cab user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2003-04-03
| ||
10:15:49 | Now changes 110-1 to 109, not 19, etc. check-in: 435cbc1806 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
10:15:49 | Now changes 110-1 to 109, not 19, etc. check-in: 2cddbac245 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2003-02-11
| ||
19:55:51 |
Now uses tr instead of sed to replace array index parentheses (tr is better at coping with very, very long lines). Fixed tidy-up regexps in decrement_indices function. Fixed comment and function name c_to_fortran_paren. check-in: 3c858121cf user: geraint@users.sourceforge.net tags: origin/master, trunk | |
19:55:51 |
Now uses tr instead of sed to replace array index parentheses (tr is better at coping with very, very long lines). Fixed tidy-up regexps in decrement_indices function. Fixed comment and function name c_to_fortran_paren. check-in: 64dfc2cb69 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2002-09-16
| ||
08:08:01 | Merged changes from global-optimisation branch. check-in: b2d7fd3c1f user: geraint@users.sourceforge.net tags: origin/master, trunk | |
08:08:01 | Merged changes from global-optimisation branch. check-in: 5a72ea3777 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2002-09-04
| ||
10:44:59 | Added option to specify number of tmp variables declared (-ntmpvar <N>). check-in: 534206b77a user: geraint@users.sourceforge.net tags: origin/global-optimisation, trunk | |
10:44:59 | Added option to specify number of tmp variables declared (-ntmpvar <N>). check-in: 8d8523b35b user: geraint@users.sourceforge.net tags: origin/global-optimisation, trunk | |
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 | |
11:53:32 | Replaced shell loop with template expansion - perceptibly quicker generation of sympar.h. check-in: e560dd6a8b user: geraint@users.sourceforge.net tags: origin/master, trunk | |
11:53:32 | Replaced shell loop with template expansion - perceptibly quicker generation of sympar.h. check-in: f2812f12a3 user: geraint@users.sourceforge.net tags: origin/master, 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 | |
2002-06-10
| ||
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 | |
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-20
| ||
08:10:11 | Now changes 10-1 to 9, not 09. etc. check-in: 9184eb0ecf user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
08:10:11 | Now changes 10-1 to 9, not 09. etc. check-in: 08d9c5f480 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2002-05-19
| ||
13:01:22 |
Numerical solution of algebraic equations implemented for S-function target.
Equation solving requires the Matlab Optimization Toolbox to be installed. Code has been changed from C++ to C to allow mex files to be built with LCC, Parameters are now obtained from numpar.c instead of a dialogue box. `mtt <sys> sfun zip` creates all necessary files for building the model mex files. check-in: 062029b187 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
13:01:22 |
Numerical solution of algebraic equations implemented for S-function target.
Equation solving requires the Matlab Optimization Toolbox to be installed. Code has been changed from C++ to C to allow mex files to be built with LCC, Parameters are now obtained from numpar.c instead of a dialogue box. `mtt <sys> sfun zip` creates all necessary files for building the model mex files. check-in: 97bf211b88 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2002-05-15
| ||
14:22:26 |
Code for Simulink S-function target written direct to sfun.cc instead of calling .mexglx files. This eliminates the sfun dependency on Octave ColumnVectors. sys_sfun.cc should build directly on a MS Windows machine (can't test this yet). added sfun.zip target to create source code to export. check-in: d9e3b30dc2 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
14:22:26 |
Code for Simulink S-function target written direct to sfun.cc instead of calling .mexglx files. This eliminates the sfun dependency on Octave ColumnVectors. sys_sfun.cc should build directly on a MS Windows machine (can't test this yet). added sfun.zip target to create source code to export. check-in: d60ad9b171 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2002-05-11
| ||
01:14:17 |
Fix for [ 553218 ] simpar.oct and simpar.m different. Translation added between ColumnVector in base .cc and Octave_map in .oct. check-in: 6e685b7bca user: geraint@users.sourceforge.net tags: origin/master, trunk | |
01:14:17 |
Fix for [ 553218 ] simpar.oct and simpar.m different. Translation added between ColumnVector in base .cc and Octave_map in .oct. check-in: b6a47212b3 user: geraint@users.sourceforge.net tags: origin/master, trunk | |