Overview
Comment: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

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 8e2a1aea1b56fd19061cdb95f4ce35a3b66ddbc9e8fc3644a9891497c87f86aa
User & Date: geraint@users.sourceforge.net on 2014-07-13 13:53:52
Other Links: branch diff | manifest | tags
Context
2014-07-14
06:37:07
Avoid continuation \ issues. check-in: 7267367629 user: gawthrop@users.sourceforge.net tags: origin/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

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
Changes

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