- Index
- » Developer
- » OpenModelica development
- » Use of numArrayElement in SimVar
Use of numArrayElement in SimVar
Use of numArrayElement in SimVar
I'm using the numArrayElement field of SimVar to allocate arrays when arrayCref is defined for the SimVar. This works in almost every case, but there are some instances where numArrayElement is empty even though the variable type is an array and arrayCref is defined. Is this a bug? Or am I misusing the numArrayElement field?
Thanks for any information you can provide,
Jim
Re: Use of numArrayElement in SimVar
You'll have to ask the makers of the CPP Codegen module. That field is not for general use and is probably wrong. Why they didn't just put the list<DAE.Dimension> in there, instead using String, I also do not know...
- sjoelund.se
- 1700 Posts
Re: Use of numArrayElement in SimVar
Hi,
Just send us an email at OpenModelica <AT> ida <dot> liu <dot> se
and we can put you in contact with the developers of the CPP Codegen module.
Cheers,
Adrian Pop/
- adrpo
- 885 Posts
- Index
- » Developer
- » OpenModelica development
- » Use of numArrayElement in SimVar