-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add trivial adaptive DAE method #37
Comments
What order method do we want? For both Differential and Algebraic? |
Also HERK is good for problems which have a differential that can be treated explicitly. This may not be the case for all Index-2 DAEs and there may be a need for a Index-2 IRK method. |
I was literally thinking trapezoidal with Euler embedded. Call it dae12. if you have ready-made coefficients of higher order we can use them, but up to you. I theoretically implemented enough derivatives in the pendulum problem to support a fully implicit method. |
I'm reluctant to implement integrators in OTP. To me it is slightly out of scope. Also it would need to be advanced enough to support the |
But if we do want to provide an integrator, I think it should be an SDIRK method instead of a HERK. HERK requires knowledge of which variables are diff and alg, and the default RHS does not provide that. |
Ideally we would integrate with the new MATLODE, but this is a good stopgap |
Do we want to couple OTP with MATLODE? |
Also we would need to be carful with index reduced problems. Some index reductions are not stable. |
If we do provide an integrator for index-2 problems I agree it should just be an SDIRK method. How in depth does it need to be ie how many options should it have? |
Couple: no. We can make them mutually compatible by having matlode use the same function signature as built in integrators. E.g. |
It needs to accept |
I have added a method that seems to work for the pendulum problem. There is a lot of cleanup that needs to be done, but it actually seems to work, which I am excited about. |
Adding an adaptive half-explicit method (one file, not over-engineered) for solving the pendulum with invariants would be very helpful.
The text was updated successfully, but these errors were encountered: