Hopsan / hopsan

Hopsan is a free multi-domain system simulation tool developed at the division of Fluid and mechatronic systems at Linköping university.
Apache License 2.0
146 stars 41 forks source link

Support variables sharing same value reference in FMIWrapper #2208

Closed robbr48 closed 2 months ago

robbr48 commented 2 months ago

Use multimaps instead of maps for storing data pointers. This is needed because multiple variables can use the same value rerefence and thereby share the same underlying data, while multiple nodes cannot point to the same data variable.