Sam Isaacson

Results 506 comments of Sam Isaacson

Does this example help? https://docs.sciml.ai/Catalyst/stable/example_networks/smoluchowski_coagulation_equation/

Yeah, `k` should be a parameter. It is a relic from a much older version of Catalyst where there was less of a distinction, and looks like we missed updating...

See my example above; `@species` returns a vector with the first entry being your symbolic variable.

Your actual `ComponentArray` or `ArrayPartition` is stored as `u.u` and `du.u` would be the analogous output location. So I think you'd want something like `du.u.x[1]` etc. Does that help? See...

Did you update your `psi!` function too? ```julia function psi!(du, u, p, t) Heff = @. - im * p.process_operators[1] mul!(du.u.v, Heff, u.u.v) du.u.m = u.u.m end ```

Could you give a simple, short MWE here without all the commented code and intermediary operations? It would make testing / debugging easier.

Awesome, happy to hear `ComponentArray`s work! No need for a MWE with ArrayPartitions, The issue there is missing dispatches, and I think the general recommendation in SciML is to use...

Looks like a great package! Sorry we haven't made progress on this yet -- unfortunately this semester got busy and I haven't had time yet to get to it. I'm...

https://github.com/SciML/ModelingToolkit.jl/pull/2911 should handle this now?