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

Minor update to Docs on Linear solver curvilinear coordinate #2684

Merged
merged 2 commits into from
Apr 1, 2022

Conversation

cgilet
Copy link
Contributor

@cgilet cgilet commented Mar 31, 2022

support.

Summary

Additional background

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

@cgilet cgilet requested a review from WeiqunZhang March 31, 2022 19:28
@@ -388,14 +388,22 @@ to the ghost cell center; :cpp:`maxorder = 3` uses the boundary value and the fi
Curvilinear Coordinates
=======================

The linear solvers support curvilinear coordinates including 1D
Copy link
Member

@WeiqunZhang WeiqunZhang Mar 31, 2022

Choose a reason for hiding this comment

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

The nodal solver supports RZ too, at least partially. It does require the user to rescale the problem. But the solver itself also has to do some additional correction. (git grep is_rz Src/LinearSolvers/MLMG)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is what I was trying to say in the next paragraph, but obviously, I was not clear. I'll try again...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@WeiqunZhang Can you clarify if setMetricTerm(false) actually turns off the correction terms for the nodal solver or not. As I read the code, it appears to me as though that doesn't affect the nodal solver, and instead setRZCorrection(false) must be used.

Copy link
Member

Choose a reason for hiding this comment

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

That's correct.

@WeiqunZhang WeiqunZhang merged commit 58c8e1e into AMReX-Codes:development Apr 1, 2022
@cgilet cgilet deleted the docs_mlmg_clc branch October 26, 2022 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants