Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add mutating of p fields for integrator #243

Open
Myrddinlefou opened this issue Jul 16, 2019 · 2 comments
Open

Add mutating of p fields for integrator #243

Myrddinlefou opened this issue Jul 16, 2019 · 2 comments

Comments

@Myrddinlefou
Copy link

In the integrator doc you present 3 mutating possibility : set_t, set_u and set_ut.

In my case I want to change the differential equation, and that can be realised by change the fiels p.

A new function name set_p! can probably do that, or there are an other way to do it ?

Thanks a lot for your work.

@ChrisRackauckas
Copy link
Member

integrator.p = .... We are missing a setter function, but it's kind of different because unlike u or t, changing p doesn't effect the system's internal components.

@Myrddinlefou
Copy link
Author

Myrddinlefou commented Jul 17, 2019

Yes, but how can I change p simply during an interrupt by integrator?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants