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

Fix matrix-free deprecation warnings #4074

Merged
merged 1 commit into from Jun 20, 2021

Conversation

zjiaqi2018
Copy link
Contributor

Fix matrix-free deprecation warnings, and it passed the test nsinker_gmg_idr. @tjhei

@tjhei tjhei closed this Jun 19, 2021
@tjhei tjhei reopened this Jun 19, 2021
@@ -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);
Copy link
Member

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?

Copy link
Contributor Author

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)?

Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@tjhei
Copy link
Member

tjhei commented Jun 19, 2021

Fixes #4068

@tjhei
Copy link
Member

tjhei commented Jun 19, 2021

/rebuild

Copy link
Member

@gassmoeller gassmoeller left a 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!

@gassmoeller
Copy link
Member

Just waiting for the tester (github actions required approval, because it considers you a first time contributor).

@gassmoeller gassmoeller merged commit 690375b into geodynamics:master Jun 20, 2021
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.

None yet

3 participants