-
Notifications
You must be signed in to change notification settings - Fork 25
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
Can't set integrator from rrtests #833
Comments
The mechanism for setting Integrators (and solvers in general) was already around before I got there. I did however refactor it a little to remove some of the clunkyness. As far as registered intergrators in Python goes, they look like they are working based on
|
It seems all is working from the C++ API:
So the problem must be with the C API |
I took all the various bits of code that collectively make up that test and put them into a new test (see below). Thing is, it passes - so my guess is that its a bug in the test suite resulting from using a shared state between tests (i.e. global variables). It could take a long time to debug this so I'm going to move on to something that needs doing for the release.
|
I'm re-opening this since it wasn't resolved, but I 100% agree that it's a low-priority issue. (Also, I'm editing my description because I meant to say 'in C++' instead of 'in python'.) |
Yes, this accidently closed because I merged a fix for something else with related histories (or something). |
For some reason, when the rrtests try to set the integrator to 'rk4' or 'rk45' in C++, it fails because there are zero registered integrators (as far as I can tell). For now, I just disabled those test sections, but it would be nice to figure out why and fix this. I think the integrator factory mechanism was set up by Ciaran, so I'm assigning this to him for now.
The tests can be re-enabled in the functions check_CHECK_RK4_OUTPUT and check_CHECK_RK45_OUTPUT at lines 998 and 1023 of RRTestFileTests.cpp
The text was updated successfully, but these errors were encountered: