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

cpgmres_y #4

Open
dpo opened this issue Sep 14, 2018 · 2 comments
Open

cpgmres_y #4

dpo opened this issue Sep 14, 2018 · 2 comments

Comments

@dpo
Copy link
Member

dpo commented Sep 14, 2018

cpgmres_y computes y differently at the end of the loop, but needs G explicitly. Does it have an advantage over cpgmres?

@diserafi
Copy link
Collaborator

The best way of updating y (in terms of accuracy) is not yet clear to me. cpgmres_y updates y after the inner loop by using the same strategy currently used by reg_cpkrylov to get the final y (reg_cpkrylov does not use the last m entries of the solution computed by the CP-Krylov solver). Initial experiments with random matrices seemed to show that this strategy led to more accurate vectors y, but this has never been analyzed in detail.

@dpo
Copy link
Member Author

dpo commented Sep 16, 2018

Ok, thank you. We'll revisit this after more extensive tests on non-random problems.

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

No branches or pull requests

2 participants