DiffEqCallbacks.jl
DiffEqCallbacks.jl copied to clipboard
A library of useful callbacks for hybrid scientific machine learning (SciML) with augmented differential equation solvers
more CI
RAT deprecation message is incorrect here for the manifold tests. ```jl julia> sol[88] ┌ Warning: `Base.getindex(A::AbstractDiffEqArray, i::Int)` is deprecated, use `Base.getindex(A, :, i)` instead. │ caller = top-level scope at...
This adds a new type, `LinearizingSavingCallbackCache` and some sub-types to allow for efficient re-use of memory as the callback executes over the course of a solve, as well as re-use...
**Is your feature request related to a problem? Please describe.** Hello, I am currently using the `PeriodicCallback` to model a periodic series of 1 and 0 values. The series of...
**Is your feature request related to a problem? Please describe.** Sometimes when parameter estimating ODE-models, or when importing a model in the SBML format, event time-points are dependent on model...
This pull request sets the compat entry for the `DiffEqCallbacks` package to `2` for package docs. This keeps the compat entries for earlier versions. Note: I have not tested your...
Such that `makedocs` `warnonly = [:missing_docs]` can be removed.
The documentation for `GeneralDomain` shows the docstring ``` GeneralDomain(g, u=nothing; nlsolve=NLSOLVEJL_SETUP(), save=true, abstol=nothing, scalefactor=nothing, autonomous=numargs(g)==2, nlopts=Dict(:ftol => 10*eps())) ``` which should now be ``` GeneralDomain(g, u = nothing; nlsolve =...
The FunctionCallingCallback seems to be not correctly synchronized with events as shown with the following test model: ``` module Test_bouncingBall_withFunctionCallBack using DifferentialEquations function f(du,u,p,t) #u[1]: height, u[2]:velocity du[1] = u[2]...
```julia using DifferentialEquations using Plots function Scaled_Null(f,y,p,t) p1 = 1; n, g, p2, p3, p4, p5, p6, h1, h2, z = p; f[1] = p1-y[1]-y[1]*sum(y[3:2:end].*g); for i = 1:n f[2*i]...
Currently Domain callbacks apply to all equations simultaneously. In many use cases you only want to apply them for some equations ( think of a position that should always stay...