Merged
Conversation
4f43be1 to
e70d18c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GraphDynamics v0.7.0
New features
PolyesterScheduler()scheduling object has been added which allows for parallelizing solves using Polyester.jl. This option helps performance during ODE solves where GC time dominates if multithreaded.dtmax, then the smallestdtmaxparameter in the system is forwarded as a keyword argument toODEProblemandSDEProblems to limit the maximum stepsizes allowed by the solver.GraphDynamics.connection_needs_ctxto give true, then connections of that type will be given a fourthctxargument which gives it access to the full list ofstates_partitioned,params_partitioned, andconnection_matriceswhen accumulating inputs.Breaking changes
PartitionedGraphSystemhas been removed;GraphSystems holds a fieldg.flat_graphfield with aPartitioningGraphSystemobject which actively flattens and partitions the graph during solvingapply_discrete_event!,apply_continuous_event!, andForeachConnectedSubsystemhave had theirvstatesandvparamsarguments combined into asys_viewargument, which gives a view into the affected system for (and the connection form gets asys_view_srcandsys_view_dst). Thissys_viewcan have it's fields be updated in place like so:This will modify the
xstate or parameter of the system when the event triggers.apply_subsystem_noise!'s first argument is now modified in the same way as the view arguments ofapply_discrete_event!. One would now write e.g.rather than
vstate[:v] = sys.σ