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

Add hypre_MGRSetGlobalSmootherAtLevel to MGR #1091

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

victorapm
Copy link
Contributor

Add hypre_MGRSetGlobalSmootherAtLevel which allows users to set "external" hypre solvers as a global relaxation method in MGR

Copy link
Contributor

@oseikuffuor1 oseikuffuor1 left a comment

Choose a reason for hiding this comment

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

@victorapm this looks good to me, if it has been tested to work. It will be good to have a regression test to cover this case and make sure things are being destroyed correctly. I am fine with it if that is done in a separate PR. Thanks!!

Copy link
Contributor

@rfalgout rfalgout left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks!

* @note Unlike some other setup functions that might require an array to set options across multiple
* levels, this function focuses on a single level, identified by the \e level parameter.
*
* @warning If `hypre_MGRSetLevelSmoothType` has previously been called, setting a global smoother at
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should rephrase this statement to say that this call takes precedence for setting the smoother at that level or overrides all other options for the smoother at that level (irrespective of when they are called).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good! Do you want to make the change?

Copy link
Contributor

@oseikuffuor1 oseikuffuor1 left a comment

Choose a reason for hiding this comment

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

@victorapm, I made a few comments for your review. Otherwise, the overall idea looks good to me. Thanks.

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.

None yet

3 participants