Francesco Casella
Francesco Casella
> I think myself and @kabdelhak did find the standard on this confusing as well. The pseudo-code part was helpful, but at the same time confusing as well. Problem was...
@HansOlsson, we have an open-source implementation of spatialDistribution in OpenModelica, see [spatialdistribution.h](https://github.com/OpenModelica/OpenModelica/blob/master/OMCompiler/SimulationRuntime/c/simulation/solver/spatialDistribution.h) and [spatialdistribution.c](https://github.com/OpenModelica/OpenModelica/blob/master/OMCompiler/SimulationRuntime/c/simulation/solver/spatialDistribution.c), written by @AnHeuermann and @kabdelhak, that we could contribute to the specification as a reference implementation....
I also agree. @AnHeuermann, what you could do instead is to add the [test case](https://github.com/OpenModelica/OpenModelica/blob/master/testsuite/simulation/modelica/spatialDistribution/TestSpatialDiscretization.mo) to ModelicaTest. That would be useful for all tool vendors to check the correctness of...
> Is this supposed to imply that impure functions can only be invoked at runtime (which is when the external environment of the simulation is available)? If the idea of...
I wish I could give some wise suggestion, but I'm afraid I'm not really into all the details, which is where the devil is, so I'm reluctant to make strong...
> **We cannot have optimization that as default gives the wrong results, and you manually have to disable to get correct results.** I'm now quite lost in this discussion, but...
@perost may want to comment
I'm not sure what is the best way to formulate the specification, but from and end-user perspective, I would find it very odd that ``` Sub sub2[6](p(start=linspace(0.0, 1.0, 6), each...
Sorry, of course I meant this ```modelica package TestFunctionInputType record BaseR constant Integer n = 3; Real x[n]; end BaseR; record DerivedR extends BaseR(n = 5); end DerivedR; function f...