Christopher Rackauckas

Results 4424 comments of Christopher Rackauckas

We haven't defined a function here, so it's just doing the fallback behavior when they are the same type. We should probably add this overload.

> Is there a way to calculate f and J at once ? Implicit Euler is probably the only place where that would make sense, and even then I'm a...

>I tried the code given on the link (https://docs.juliadiffeq.org/latest/features/callback_functions/). The Tsit5() adaptive algorithm doesn't work for this example. Can you please tell me why that is the case? When I...

You have to make sure you plot the discontinuity points on both sides to resolve it correctly. What does your plot look like? Sounds like you just plotted a standard...

Sounds like it was just a user plotting issue. Please feel free to discuss more if there's more to it!

The start is treated differently, since otherwise a lot of callbacks would have weird side effects. For that reason we put in an `initialize!` option in the callback interface. If...

Hmm, that is odd. Can you share an example of that? We can probably find a way to fix it.

I don't understand the issue. I ran: ```julia using DifferentialEquations, BenchmarkTools # Parameters g = -0.4 α = 1 t_exc_1 = [] t_exc_2 = [] function Es(t,t_exc) t_redef = (-t_exc...

That looks correct to me.

Your system is allocating. You'll need to write a non-allocating version first (or have MTK generate it).