-
Notifications
You must be signed in to change notification settings - Fork 6
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
MDEF enhancements #70
Comments
the first point could be a performance issue. we should test. |
@wgst update loading and saving friction models |
Since we're using the LAPACK functions to solve the eigenvalue problem in the MDEF integrator, we would have to convert back to
Couldn't we move the eigenvalue problem or even the generation of c1, c2 per time step into the
This could also be covered then, since you could skip the diagonalisation process for LDFA. |
I believe if you call On the topic of separating concerns between the integration algorithm and the f/g functions, since we have our own in-built algorithms we can do whatever want. But in the usual DiffEq way, the friction function should really just return the friction, and all the other stuff should happen as part of the integration algorithm. This would then allow us to swap out different algorithms. But it's a bit complicated for MDEF and I never really unstood exactly how to do this with the stochastic problems, especially given this is one of the DynamicalSDEProblems. |
This issue is still live and is also affecting diabatic_mdef cases that @Nhertl is dealing with where the performance bottleneck is even worse. |
There are a couple of things that could be done to improve performance of MDEF with tensorial and diagonal friction:
3*n_friction_atoms
rather than3*n_atoms
in dimension. Currently there are lots of zeros which slows the eigen decomposition and matrix multiplications.The text was updated successfully, but these errors were encountered: