-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
MIRK4 adaptive time steps #172
Comments
The adaptivity in MIRK solvers can automatically adapt the mesh according to the quality of numerical solution, could you please share your MWE and |
I am not sure yet where exactly the problem lies in my case, so I will take the official example.
Using the larger 0.5 timestep the solver still returns Success but the solutions are completely different. The timestep is adapted to approximately 0.1. What I was hoping for and what I think might be a problem in my use case is that the grid is adapted uniformly instead of making the grid denser in areas where the change in the function is greater. My st
|
Both the solutions you mentioned are the true solutions to the example problem. IIRC, the mesh refinement routine in MIRK solvers indeed returns uniform mesh. The MIRK solvers don't support grid coarsing for now. |
When we are constructing a boundary value problem using |
Ah, I have erroneously assumed that the uniqueness of an initial value problem translates to a boundary value problem - thank you for pointing this out! Thank you for answering my question! |
Yeah this is just not unique. To match the IVP you'd just need to add another constraint equation to the initial point. |
Hi,
I am defining a TwoPointBVProblem and use
to solve it. However, the step size is not adjusted and remains at 0.01.
Am I specifying this incorrectly? From what I understood #89 added this functionality.
Thank you!
The text was updated successfully, but these errors were encountered: