Directory | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 47 (100.0%) | 3846 (100.0%) | 81.8 |
c_runtime/ModelicaExternalC/ | 11 (23.4%) | 2239 (58.2%) | 203.5 |
c_runtime/ | 20 (42.6%) | 1195 (31.1%) | 59.7 |
Compiler/ | 15 (31.9%) | 409 (10.6%) | 27.2 |
Compiler/susan_codegen/SimCode/ | 1 (2.1%) | 3 (0.1%) | 3.0 |
Updated export to Dymola mat-file format -- also integer and boolean
variables are now stored in the file.
113 lines of code changed in 2 files:
Fixed error in c_runtime/Makefile.common regarding libModelicaExternalC.a.
3 lines of code changed in 2 files:
libModelicaExternalC.a is now compiled from Modelica/C-Sources/*c.
1836 lines of code changed in 9 files:
Fixed a bug in tables.cpp, when table is not read from file - in
that case it is passed to table-intialization function as an array
(which is a local variable in a wrapper function).
Previously the code did not copy that array (just the pointer value).
15 lines of code changed in 1 file:
- Removed unnecessary VarTransform.VariableReplacements from
DAELow.removeSimpleEquations.
- Changed type of aliasVariables in DAELow.DAELOW (currently ignored in trunk).
83 lines of code changed in 4 files:
Reverted checking for stricly-monotonous time samples in
c_runtime/tables.cpp.
It turned out that having only monatonous time samples is not the
smartest idea, since CombiTimeTable does not raise any events.
6 lines of code changed in 1 file:
Fixed bug where InterpolationTable::extrapolate() expects enumeration
indices to begin with 0.
3 lines of code changed in 1 file:
In c_runtime/tables.cpp, fixed modulo divison in extrapolation and
add zero-division guarding in interpolation (since time samples do not
need to be strictly monotonous anymore).
Also fixed incorrectly swapped min-time and max-time function in
libModelicaExternalC.
10 lines of code changed in 3 files:
Allowed time samples to be only monotonous (before strictly monotonous)
in c_runtime/tables.cpp.
8 lines of code changed in 1 file:
Added wrappers for table-manipulation functions (defined in
c_runtime/tables.h) to libModelicaExternalC.
All other functions remain unimplemented.
411 lines of code changed in 2 files:
In Modelica Standard Library 3.1, certain external functions are lined with
library ModelicaExternalC, which is currently missing in OpenModelica.
Directory c_runtime/ModelicaExternalC was added and a header file with all
needed external functions which will need to be implemented (mostly are
they just a wrapper to Standard C Library or libc_runtime.a).
0 lines of code changed in 1 file:
Replaced isblank() with isspace(), because the former was added with C99
standard and it seems not every compiler supports it.
3 lines of code changed in 1 file:
Reimplemented tables.{h,cpp} (and hopefully made code more clear)
and also added support to load tables form MAT-file ver4.
666 lines of code changed in 3 files:
Corrected SimCode.getInitalValue(), so it check that variable's initial
value is a constant.
10 lines of code changed in 1 file:
Added additional fields to SimCode.SIMVAR structure:
- String unit, displayUnit
- Option<DAE.Exp> initialValue (from modified SimCodegen.generataInitData{3,4})
(This fields are currently unused in the `trunk'.)
125 lines of code changed in 2 files:
Added output of results into a MAT-file that Dymola is able to read, so
Dymola's variables' browser can be used.
Specifications of Dymola's output format are described in Dymola User's Guide.
Currently is this outputFormat designated as "mat", but should be changed
(as there is no need to have output to MAT-file only formatted according
to Dymola).
360 lines of code changed in 4 files:
Added a field `aliasVars' to structure DAELow, where replacement
transformations for alias variables (originating from trivial equations)
are stored.
Currently, this field is ignored everywhere -- it will be only used in
code generation in my own branch `omprof'.
194 lines of code changed in 9 files: