-
Notifications
You must be signed in to change notification settings - Fork 67
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
Storage cache refinements #808
base: master
Are you sure you want to change the base?
Conversation
jenkins build this please |
jenkins build this please |
for (unsigned eqIdx = 0; eqIdx < numEq; ++eqIdx) { | ||
tmp2[eqIdx] = Toolbox::value(tmp[eqIdx]); | ||
} | ||
if (!elemCtx.haveStashedIntensiveQuantities()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh, interesting. I'd not come across that function before. Its documentation is a little hard to comprehend though, since it states that the function
returns
true
if NO intensive quantities are stashed
Is that accurate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have also not really come across it. The mechanism is used to stash away data for a cell before perturbing the element context for finite difference derivative evaluations, and then restoring it afterwards, so its removal from the logic made such cases fail.
The doc is wrong...
jenkins build this please |
This makes the old and new linearizers behave in the same way, and the code is a bit simpler and clearer. Builds on and replaces #772
Some changes here are directly #772 so I made @totto82 the author, but the commits are new here and not cherry-picked from the other branch.