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

Grid tools debug #8519

Merged
merged 2 commits into from Aug 13, 2019
Merged

Grid tools debug #8519

merged 2 commits into from Aug 13, 2019

Conversation

mjayadharan
Copy link
Contributor

@mjayadharan mjayadharan commented Aug 8, 2019

Fixes #8517.

@masterleinad
Copy link
Member

Please create two separate pull requests if you are fixing unrelated issues.

Could you also add a test case that would fail prior to this pull request?

@tjhei
Copy link
Member

tjhei commented Aug 8, 2019

And if you need help with anything @masterleinad said, talk to one of us!

@bangerth
Copy link
Member

bangerth commented Aug 9, 2019

@mjayadharan -- come see me tomorrow and we'll fix the git issues.

@dealii/dealii : There's no test that can check this. What was happening is that we wanted to cache things, but forgot to set the flag that we had already computed something. The result wasn't wrong -- it was just inefficient: Every time we were looking up the information we re-computed it.

@mjayadharan
Copy link
Contributor Author

I have separated two issues with this pull request. Now please take at look.

@drwells drwells added Bug and removed Documentation labels Aug 10, 2019
@bangerth
Copy link
Member

/rebuild

OK to merge if it passes the tester (which I strongly suspect it will). Thanks for the patch, @mjayadharan !

@bangerth
Copy link
Member

Fixes #8517.

@mjayadharan
Copy link
Contributor Author

mjayadharan commented Aug 13, 2019 via email

@masterleinad masterleinad merged commit 4043619 into dealii:master Aug 13, 2019
@luca-heltai
Copy link
Member

Thanks for fixing my mistake!

:)

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.

GridTools::Cache does not in fact cache things sometimes :-)
6 participants