-
-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to customize solver algorithm: May be needed in some physical problem. #873
Comments
What do you mean?
Yes, see the documentation on SavingCallback. https://diffeq.sciml.ai/stable/features/callback_library/#saving_callback |
Thanks very much.
|
Customize what? |
Customize |
I still have no idea what you're asking for. Customizing what about them? Do you mean https://diffeq.sciml.ai/stable/solvers/ode_solve/#Extra-Options ? |
Although it is different from my origin diea, maybe this is a more fashionable way. Let me try. Thanks again. |
Can you describe what you're asking for? |
I want to customized the
|
See the developer docs section. https://docs.sciml.ai/dev/modules/DiffEqDevDocs/contributing/adding_packages/ https://github.com/SciML/SimpleDiffEq.jl/blob/master/src/tsit5/gpuatsit5.jl are some simple examples. |
In the document, the code below can get a serial of solutions with time step of 1e-8.
sol = solve(prob, Tsit5(), saveat=1e-8)
However, in some case, we only concern about the sum of these solutions. To achieve this, I get a serial of solutions firstly and then calculate the sum of these solutions. This cost may memory resource since we should save all the solutions in memory.
My question is
The text was updated successfully, but these errors were encountered: