Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add mutable System trait #27

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

Tiggax
Copy link

@Tiggax Tiggax commented Apr 20, 2024

I have created a simple mutable system implementation similar to the suggestion talked in #16.
As oposed to creating a seperate trait, this one just adds a function to the System trait, an the model then uses the mut_integrate as opposed to integrate function to use it.

The System trait implements an aditional mut_system function, and currently only RK4 model has it added.
If the impementation is desirable i might add the other two implementations.

Usage is shown in the examples/bioractor.rs i added.

If this change is favorable, i shall add the other integration options, and add tests.

Any suggestions/ critics are welcome :)

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

Successfully merging this pull request may close these issues.

None yet

1 participant