You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using OrdinaryDiffEq, ComponentArrays, LineaerSolve
a =rand(10, 10)
u0 =ComponentArray(x=a, y=deepcopy(a))
# length and size are incompatible since the subgrid is not a regular gridfunctionf(du, u, p, t)
II =CartesianIndices(u.x)
for (i, I) inenumerate(II)
du.x[I] = u.x[I] +1.0
du.y[I] = u.y[I] +1.0endend
tspan = (0.0, 1.0)
prob =ODEProblem(f, u0, tspan)
sol =solve(prob, FBDF(linsolve =KrylovJL_GMRES()), saveat=0.1)
Stacktrace:
The text was updated successfully, but these errors were encountered: