Martin Otter

Results 64 comments of Martin Otter

Any progress here? > Not as much of a bug as a not handled case. If you have a VectorContinuousCallback and you have multiple events hit simultaneously (or close to...

A temporary work-around is to organize the storing of results in the following way: - The default storing of "u" in "sol" is switched off (store only first and last...

Thanks. In principal this works. However, there are the following issues: ### Fails for first time point At the first time point ``` du = integrator(t,Val{1}) ``` triggers the following...

Unfortunately, this does not work for IDA: When printing the size of the cache vector: ``` function save_func(u, t, integrator) tmps = get_tmp_cache(integrator) println("typeof(tmps) = ", typeof(tmps), ", length(tmps) =...

> ``` > function save_func(u, t, integrator) > p = integrator.p > if t==0 > p.du = copy(integrator.du) > else > integrator(p.du, t, Val{1}) > end > du = p.du...

> Yes, you can bypass it easily by [..] Thanks, yes this solved the issue in Modia/Modia3D. I wonder why you introduce rules for analytic differentiation that are activated by...

One way would be to provide a utility function that converts a unit to a parseable unit string, something like "parseableString(vunit)"

Any news here? Note, whenever a unit needs to be stored on file (say JSON file), it needs to be converted to a string (and when reading from file, the...

> It seems that only `show(x::Quantity, etc.)`. are defined on Unitful.jl, and `string(x::Quantity)`. are not defined. Implicitly, `string` calls `print` and `print` calls `show`, so `string` and `show` are currently...

This is a very good idea. I will not have much time, but will try to give comments/suggestions.