-
Notifications
You must be signed in to change notification settings - Fork 246
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
Document integrator.tdir as part of the integrator interface #81
Comments
Should add |
In case you are interested in documenting absolutely all fields of the integrator touched in DiffEqBase, it seems there are little bit more: $ cd ~/.julia/v0.6/DiffEqBase/src
$ git grep -E 'integ[a-z]*\.' | sed -E 's#integ[a-z]*\.(\w+)#\nXXX \1\n#g' | grep -E '^XXX' | cut -d' ' -f2 | sort -u
f
iter
opts
sol
t
tdir
tprev
u
u_modified
uprev It's actually great that most of them are mentioned in the document! But it looks like |
Quick document for |
So it looks liek we've covered everything, though maybe we should change a line in DiffEqBase somewhere for |
I think it's OK to not document them in user docs. Though documenting them it in dev docs and/or comment helps contributors.
You mean store to function initialize!(u,t,integrator::DEIntegrator,any_modified::Bool,
c::DECallback)
c.initialize(c,u,t,integrator)
any_modified || integrator.u_modified
end You want to have |
Yup, that should use
Yeah, this is relying on |
So modification has to occur via methods and get access is done directly. I see. |
Modification is user-facing so that has a documented function. Checking for modification is not. |
I suppose checking for |
Yeah, the devdocs probably need to document some of the integrator conventions that are used and turn that into a proper "dev interface". |
Sounds great. |
@tkf noticed this.
The text was updated successfully, but these errors were encountered: