-
Notifications
You must be signed in to change notification settings - Fork 90
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
Fixes and test for LaplaceXY2Hypre; runtime options for Hypre interface #2247
Fixes and test for LaplaceXY2Hypre; runtime options for Hypre interface #2247
Conversation
Were originally copied from LaplacePetsc3dAmg.
Use BOUT++ 'output' rather than std::cout.
Add an "Options& options" argument to the HypreSystem constructor so that it can get run-time options. Use the options to set solver_type, rtol, atol, maxits, and print_level.
Needed for autotools builds.
Should include neighbouring points in y, not in z.
Need to use the boundary regions defined by indexConverter.
By the way, I think I don't think the intention was ever for |
Previously was using expected solution as initial guess, this is probably not a great test...
Print out extra info when we raise the hypre_print_level.
I really like the |
Avoids risk of using uninitialised values.
LaplaceXY2Hypre
Options &options
argument to theHypreSystem
constructor, use it to allow options to be set at run-timeLaplaceHypre3d
, removing things now handled byHypreSystem
LaplaceXY2Hypre
(off by default)