Skip to content

Commit

Permalink
add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Datseris committed Feb 15, 2018
1 parent 3178bd9 commit 7092d2c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/integrator_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,13 @@ intervals(integrator::DEIntegrator) = IntegratorIntervals(integrator)
end


"""
step!(integ::DEIntegrator [, dt])
Perform one (successful) step on the integrator.
Alternative, if a `dt` is given, then `step!` the integrator until
there is a temporal difference `≥ dt` in `integ.t`.
"""
function step!(integ::DEIntegrator, dt::Real)
t = integ.t
while integ.t < t + dt
Expand Down

0 comments on commit 7092d2c

Please sign in to comment.