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
Fix matrix-free deprecation warnings #4074
Fix matrix-free deprecation warnings #4074
Conversation
@@ -721,10 +721,18 @@ namespace aspect | |||
|
|||
velocity.reinit (cell); | |||
velocity.read_dof_values (src.block(0)); | |||
#if DEAL_II_VERSION_GTE(10,0,0) | |||
velocity.evaluate (EvaluationFlags::gradients); |
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.
Is this new in 10 or already in 9.3?
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.
The EvaluationFlags is in 9.3.
Change to DEAL_II_VERSION_GTE(9.3.0)?
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.
Yes, exactly. Because starting with 9.3 we can and should use the new method.
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.
Done!
Fixes #4068 |
/rebuild |
72d3e22
to
0f58b1b
Compare
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.
Looks ready to go. Thanks @zjiaqi2018!
Just waiting for the tester (github actions required approval, because it considers you a first time contributor). |
Fix matrix-free deprecation warnings, and it passed the test nsinker_gmg_idr. @tjhei