SciML / DiffEqGPU.jl

GPU-acceleration routines for DifferentialEquations.jl and the broader SciML scientific machine learning ecosystem
https://docs.sciml.ai/DiffEqGPU/stable/
MIT License
274 stars 28 forks source link

Stiff-ODEs with numerical Jacobian #188

Closed dimaZloy closed 1 year ago

dimaZloy commented 1 year ago

Hello,

Can you provide an example how to solve stiff-ode problems without providing an analytical Jacobian?

Thx, Dmitry

ChrisRackauckas commented 1 year ago

This repo currently requires an analytical Jacobian. However, given that it requires static behavior for compilation, you can just use modelingtoolkitize as shown in https://diffeq.sciml.ai/stable/tutorials/faster_ode_example/ to generate analytical Jacobians directly from the code.