This repository was archived by the owner on May 18, 2019. It is now read-only.
Commit d783820
committed
Adapt Cpp code to increased use of calculatedParameter, ticket:4027
This follows up 25249c8
"Fix initialization problems containing parameters having implicitly fixed=false"
- move initialization details to the three sub-methods
initializeMemory/FreeVariables/BoundVariables
- in particular place initParameterEquations() in initializeBoundVariables
- avoid duplicate initialization steps in FMUWrapper and FMU2Wrapper
- force HARDCODED_START_VALUES for FMI export -- this is needed for FMI2,
because calculatedParameters have no values in the XML file;
it is also needed for FMI1 tests that re-import FMUs (e.g. Crane*)1 parent 55548c1 commit d783820
File tree
5 files changed
+42
-26
lines changed- Compiler/Template
- SimulationRuntime/cpp/Include
- FMU2
- FMU
5 files changed
+42
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5871 | 5871 | | |
5872 | 5872 | | |
5873 | 5873 | | |
| 5874 | + | |
5874 | 5875 | | |
5875 | 5876 | | |
5876 | 5877 | | |
5877 | | - | |
5878 | | - | |
5879 | | - | |
5880 | | - | |
5881 | | - | |
5882 | | - | |
5883 | | - | |
5884 | | - | |
5885 | | - | |
5886 | 5878 | | |
5887 | | - | |
5888 | | - | |
5889 | | - | |
5890 | | - | |
5891 | | - | |
5892 | 5879 | | |
5893 | | - | |
5894 | 5880 | | |
5895 | | - | |
5896 | | - | |
5897 | | - | |
5898 | | - | |
5899 | | - | |
5900 | 5881 | | |
5901 | 5882 | | |
5902 | 5883 | | |
| |||
5910 | 5891 | | |
5911 | 5892 | | |
5912 | 5893 | | |
| 5894 | + | |
| 5895 | + | |
| 5896 | + | |
| 5897 | + | |
5913 | 5898 | | |
5914 | 5899 | | |
5915 | 5900 | | |
| |||
5940 | 5925 | | |
5941 | 5926 | | |
5942 | 5927 | | |
| 5928 | + | |
| 5929 | + | |
| 5930 | + | |
| 5931 | + | |
| 5932 | + | |
| 5933 | + | |
| 5934 | + | |
| 5935 | + | |
| 5936 | + | |
5943 | 5937 | | |
5944 | 5938 | | |
5945 | 5939 | | |
| |||
5968 | 5962 | | |
5969 | 5963 | | |
5970 | 5964 | | |
| 5965 | + | |
| 5966 | + | |
| 5967 | + | |
| 5968 | + | |
| 5969 | + | |
| 5970 | + | |
5971 | 5971 | | |
5972 | 5972 | | |
5973 | 5973 | | |
5974 | 5974 | | |
5975 | 5975 | | |
5976 | 5976 | | |
5977 | 5977 | | |
| 5978 | + | |
| 5979 | + | |
5978 | 5980 | | |
5979 | 5981 | | |
5980 | 5982 | | |
| |||
5993 | 5995 | | |
5994 | 5996 | | |
5995 | 5997 | | |
5996 | | - | |
| 5998 | + | |
5997 | 5999 | | |
5998 | 6000 | | |
5999 | 6001 | | |
6000 | 6002 | | |
6001 | 6003 | | |
6002 | 6004 | | |
6003 | 6005 | | |
| 6006 | + | |
| 6007 | + | |
6004 | 6008 | | |
6005 | 6009 | | |
6006 | 6010 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3339 | 3339 | | |
3340 | 3340 | | |
3341 | 3341 | | |
| 3342 | + | |
| 3343 | + | |
| 3344 | + | |
| 3345 | + | |
| 3346 | + | |
| 3347 | + | |
3342 | 3348 | | |
3343 | 3349 | | |
3344 | 3350 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
156 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
158 | 160 | | |
159 | 161 | | |
160 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
156 | | - | |
| 157 | + | |
157 | 158 | | |
| 159 | + | |
| 160 | + | |
158 | 161 | | |
159 | 162 | | |
160 | 163 | | |
| |||
0 commit comments