Skip to content

Implemented Cullum/Willoughby method for removing spurious eigenvalues.#180

Merged
Rombur merged 2 commits into
ORNL-CEES:masterfrom
aprokop:cullum_cleanup
May 23, 2019
Merged

Implemented Cullum/Willoughby method for removing spurious eigenvalues.#180
Rombur merged 2 commits into
ORNL-CEES:masterfrom
aprokop:cullum_cleanup

Conversation

@aprokop
Copy link
Copy Markdown
Collaborator

@aprokop aprokop commented May 16, 2019

This is a cleanup of #143. It is to be served as to improve status quo while continuing investigation of potential issues in that PR.

@ghost ghost assigned aprokop May 16, 2019
@ghost ghost added the in progress label May 16, 2019
@codecov-io
Copy link
Copy Markdown

codecov-io commented May 16, 2019

Codecov Report

Merging #180 into master will increase coverage by 0.14%.
The diff coverage is 97.56%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #180      +/-   ##
=========================================
+ Coverage   87.16%   87.3%   +0.14%     
=========================================
  Files          53      53              
  Lines        2851    2891      +40     
=========================================
+ Hits         2485    2524      +39     
- Misses        366     367       +1
Impacted Files Coverage Δ
tests/test_lanczos.cc 100% <100%> (ø) ⬆️
include/mfmg/common/lanczos.templates.hpp 99.41% <97.5%> (-0.59%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fc505a9...e18b288. Read the comment docs.

Comment thread include/mfmg/dealii/lanczos.templates.hpp
@masterleinad
Copy link
Copy Markdown
Collaborator

So can we close #143?

@aprokop
Copy link
Copy Markdown
Collaborator Author

aprokop commented May 16, 2019

So can we close #143?

No, we have not solved all the issues, and Wayne will continue using it for the development. This PR is simply cleaning up that and merging so that we have something better than what we have right now.

@aprokop
Copy link
Copy Markdown
Collaborator Author

aprokop commented May 17, 2019

What's with the @ghost account assigning labels? Something happened to waffle?

@Rombur
Copy link
Copy Markdown
Collaborator

Rombur commented May 18, 2019

Yeah Waffle is dead. Got an email a month ago saying that they would close.

Copy link
Copy Markdown
Collaborator

@Rombur Rombur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to rebase this branch.

for (int i = 0; i < n; ++i)
{
is_repeated[i] = ((i > 0 && (evals[i] <= evals[i - 1] + tol2)) ||
(i < n - 1 && (evals[i + 1] <= evals[i] + tol2)));
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment on this condition. This is really hard to read.

{
is_repeated[i] = ((i > 0 && (evals[i] <= evals[i - 1] + tol2)) ||
(i < n - 1 && (evals[i + 1] <= evals[i] + tol2)));
is_marked[i] = (i == 0 || (evals[i] > evals[i - 1] + tol2));
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@aprokop
Copy link
Copy Markdown
Collaborator Author

aprokop commented May 23, 2019

Rebased and added comments.

@Rombur Rombur merged commit ed3acb2 into ORNL-CEES:master May 23, 2019
@aprokop aprokop deleted the cullum_cleanup branch May 23, 2019 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants