Skip to content

WIP: Support the common Integrator interface#7

Open
tshort wants to merge 1 commit intomasterfrom
common-integrator
Open

WIP: Support the common Integrator interface#7
tshort wants to merge 1 commit intomasterfrom
common-integrator

Conversation

@tshort
Copy link
Copy Markdown
Contributor

@tshort tshort commented Jan 7, 2017

  • Only includes basic init and step functionality so far.
  • Has a working test: events.jl.
  • solve hasn't been updated.
  • step doesn't update the solution.

- also has a working test: events.jl
sol = solve(prob, daskr(),save_timeseries=false)
sol = solve(prob, daskr(), saveat = saveat, isdiff = [true, true, false])
sol = solve(prob, daskr(), saveat = saveat,
sol = solve(prob, DASKR.Algorithm())
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a good reason to change the name? I would be surprised if another package wants to use the function daskr().

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For proper capitalization. daskr is/was a type constructor. I don't like Daskr. DASKRAlg or DASKRAlgorithm don't look as readable to me as DASKR.Algorithm, particularly since types are shown with the module often (DASKR.DASKRAlg).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright. It's a little odd for it to be the only algorithm not represented directly by the algorithm name, but it's fine.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+11.04%) to 82.888% when pulling 3c3dfce on common-integrator into 53fbc8f on master.

@ChrisRackauckas
Copy link
Copy Markdown
Member

Sundials was stalled because GC finalizers don't work well without custom allocators since Julia cannot know the size of the memory that is pointed too. Would this be a problem here as well?

@tshort
Copy link
Copy Markdown
Contributor Author

tshort commented Apr 14, 2017

I was wondering about that, too. I'm guessing it won't be a problem here because all allocation is done by Julia.

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.

3 participants