-
Notifications
You must be signed in to change notification settings - Fork 91
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
MGR strategies cleanup #2409
MGR strategies cleanup #2409
Conversation
src/coreComponents/linearAlgebra/interfaces/hypre/mgrStrategies/CompositionalMultiphaseFVM.hpp
Outdated
Show resolved
Hide resolved
...ponents/linearAlgebra/interfaces/hypre/mgrStrategies/CompositionalMultiphaseReservoirFVM.hpp
Outdated
Show resolved
Hide resolved
...ponents/linearAlgebra/interfaces/hypre/mgrStrategies/CompositionalMultiphaseReservoirFVM.hpp
Outdated
Show resolved
Hide resolved
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.
Great, thank you! Testing in progress
src/coreComponents/linearAlgebra/interfaces/hypre/HypreUtils.hpp
Outdated
Show resolved
Hide resolved
src/coreComponents/linearAlgebra/interfaces/hypre/mgrStrategies/SinglePhaseReservoirFVM.hpp
Outdated
Show resolved
Hide resolved
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.
Thanks! Forgot to approve this before
This PR is ready for a last round of review. Testing in progress for problems provided by @francoishamon. |
Looks great to me. Thanks again! |
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.
I'm late to the party, but LGTM!
(also to shut up Slack bot asking me to review 😄 )
anything in this PR that will affect runs with MGR? |
* Cleaning MGR strategies * Replacing FRelaxMethod with FRelaxType * Allowing Gaussian elimination for wells (temporarily) only on CPU * Unique jacobi for CPU and GPU in MGR strategies * Removing calls to HYPRE_MGRSetTruncateCoarseGridThreshold in MGR strategies --------- Co-authored-by: Randolph Settgast <settgast1@llnl.gov>
This PR introduces a method
setReduction
in classMGRStrategyBase
that is used in thesetup
method in each strategy. For levell
of each strategy the following details are specified:Note that the F-relaxation type is now set instead of the method (see comment in hypre here). Also, methods have been added in class
MGRStrategyBase
to configure boomerAMG for mechanics, pressure and pressure/temperature systems.Additional features that will be included as hypre allows for it:
HYPRE_MGRSetPMaxElmts
)