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

Rename FV::Div_a_Grad_perp to FV::Div_a_Grad_perp #2536

Merged
merged 4 commits into from
Apr 29, 2022
Merged

Conversation

dschwoerer
Copy link
Contributor

This operator is calculating the Divergence of the Gradient (i.e.
Laplace), not the Divergence of the Laplacian.

Should this be called Div_perp_a_Grad_perp or even Div_perp_K_Grad_perp (similar to the parallel version)?

This operator is calculating the Divergence of the Gradient (i.e.
Laplace), not the Divergence of the Laplacian.
@dschwoerer dschwoerer added bugfix backport candidiate Does not break backward compatibility, so can be back-ported to v4.4 labels Apr 25, 2022
bendudson
bendudson previously approved these changes Apr 25, 2022
Copy link
Contributor

@bendudson bendudson left a comment

Choose a reason for hiding this comment

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

Thanks @dschwoerer I agree the new name is better

Copy link
Member

@ZedThree ZedThree left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the nice deprecation notice too!

include/bout/fv_ops.hxx Outdated Show resolved Hide resolved
include/bout/fv_ops.hxx Outdated Show resolved Hide resolved
src/mesh/fv_ops.cxx Outdated Show resolved Hide resolved
Co-authored-by: Peter Hill <peter.hill@york.ac.uk>
@ZedThree
Copy link
Member

Failing test is clang-tidy-review which is fixed in both master/next

@ZedThree ZedThree changed the title rename FV::Div_a_Grad_perp Rename FV::Div_a_Grad_perp to FV::Div_a_Grad_perp Apr 29, 2022
@ZedThree ZedThree merged commit b37f531 into next Apr 29, 2022
@ZedThree ZedThree deleted the laplace-naming branch April 29, 2022 15:46
@dschwoerer
Copy link
Contributor Author

Does the title contain FV::Div_a_Grad_perp twice? Old name was FV::Div_a_Laplace_perp - sorry for not providing a better title.

@ZedThree
Copy link
Member

ZedThree commented May 3, 2022

Oops, sorry, I clearly didn't read things properly! I'll just have to remember to fix it for the changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport candidiate Does not break backward compatibility, so can be back-ported to v4.4 bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants