-
Notifications
You must be signed in to change notification settings - Fork 66
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
GMRES Tutorial #143
base: main
Are you sure you want to change the base?
GMRES Tutorial #143
Conversation
I think I need to change the initial condition to be random (and sum to zero) - it's converging too easily with sin(2 pi x) on the RHS. |
* as the preconditioner. | ||
* | ||
*/ | ||
template <typename MF> |
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.
As a tutorial, it might be better to make this a non-template concrete class. We can put most of the function definitions in a cpp file.
m_gmres.solve(a_sol, a_rhs, a_tol_rel, a_tol_abs); | ||
} | ||
|
||
using GMRESPOISSON = GMRESPOISSONT<MultiFab>; |
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.
If we make this non-template, we can remove this.
Simple driver and class for unpreconditioned GMRES for Poisson equation.