Comments (9)
Also for me the test in line 44 fails because the return code is Terminated not Success
Yes, looks like that never got updated.
Can it be that save_first=false does not take effect (also I do not find it in the documentation)?
Sorry, save_start=false
.
On another note can you tell me whether there is a way to run the tests directly from my local copy of the repo, because the way I do it now (adding the repo in a julia REPL and then running the test) seems unnecessarily complicated.
]dev SteadyStateDiffEq
and now you edit in your .julia
folder, and then ]test SteadyStateDiffEq
.
from steadystatediffeq.jl.
Yes, it probably makes sense to handle the output more nicely here, with save_everystep=false
and save_first=false
defaults (which can then be overridden to see the trajectory for debugging).
from steadystatediffeq.jl.
I can create a PR if you want me to (and you think it is worth it only to change two keyword arguments)
from steadystatediffeq.jl.
I think it's worth it. Thanks!
from steadystatediffeq.jl.
Can it be that save_first=false
does not take effect (also I do not find it in the documentation)?
Or did you mean that I should implement this as a keyword argument there and if it is false
we just return sol.u[end]
?
Also for me the test in line 44 fails because the return code is Terminated
not Success
, which is also what I would expect because the callback terminates the integration before reaching the final time.
On another note can you tell me whether there is a way to run the tests directly from my local copy of the repo, because the way I do it now (add
ing the repo in a julia REPL and then running the test) seems unnecessarily complicated.
from steadystatediffeq.jl.
Maybe it would also make sense to change the terminated
retcode to success
such that whether one uses the rootfinding or dynamical approach success
states that the steady state was found.
from steadystatediffeq.jl.
Yes. Just use the utility function DiffEqBase.solution_new_retcode
from steadystatediffeq.jl.
Do you think testing whether the derivative is roughly 0 is necessary or is it fine to assume the user does not use another Callback that terminates the integration while using this problem type?
from steadystatediffeq.jl.
Oh yes, checking the derivative before calling it a success is probably a good idea
from steadystatediffeq.jl.
Related Issues (18)
- Have an "run until steady-state" option HOT 2
- DynamicSS crashes HOT 5
- Register HOT 51
- Pseudo transient methods HOT 4
- Store nlsolve result object in solution? HOT 2
- Potential Problems in Convergence Criteria for Steady State HOT 7
- Pass Jacobian function to NLsolve HOT 9
- TagBot trigger issue HOT 38
- Error with SteadyStateProblem and SSRootfind on GPU HOT 2
- f does not fix t=0 HOT 2
- Error when solving SteadyStateProblem with DynamicSS and Dual numbers HOT 2
- abstol and or reltol work differently with ForwardDiff vs FiniteDiff HOT 6
- tspan should probably have a default value or warning
- Enable CompatHelper
- Default solver choice requires DifferentialEquations.jl (shouldn't b the case anymore) HOT 3
- Cannot create `SteadyStateProblem` integrator via `init`
- deprecation warning HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steadystatediffeq.jl.