Skip to content
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

Eigsolver refactor #213

Merged
merged 8 commits into from
Sep 11, 2019
Merged

Eigsolver refactor #213

merged 8 commits into from
Sep 11, 2019

Conversation

jarlebring
Copy link
Member

@jarlebring jarlebring commented Sep 7, 2019

The plan was to introduce creator-objects for eigenvalue problems as in #193. This PR does not do that for the reason I explain below. It does some related cleanup and renaming after which I think #193 can be seen as closed.

The situation for eigenvalue problems is a bit different from linear systems. The strong need for prefactorization (with LU- or preconditioner computation) for linear systems is not the same for eigenvalue problems. I can see no common use-case where a prefactorization is needed for the eigenvalue based methods. Currently, we send in a type, and an EigenSolver-object is created every time an eigenvalue problem should be solved. I think we can keep it like it is.

It is still possible to do precomputation with the current setup if you create your own type and take care of storing precomputed data yourself. I think this is acceptable considering how rare the situation is. Adding a creator-object setup would add a lot of code, which would be very rarely used.

@jarlebring jarlebring merged commit 43968a4 into master Sep 11, 2019
@jarlebring jarlebring deleted the eigsolver_refactor branch September 11, 2019 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant