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

solve_cg: use linop.make instead of MF constructor #3627

Merged
merged 2 commits into from
Nov 14, 2023

Conversation

eebasso
Copy link
Contributor

@eebasso eebasso commented Nov 14, 2023

Summary

This PR replaces the explicit use of MF constructors in MLCGSolverT<MF>::solve_cg with calls to the make method of the linear operator associated with the MLCGSolverT object.

Additional background

This is a similar to the PR on solve_bicgstab.

@WeiqunZhang WeiqunZhang merged commit b7408ea into AMReX-Codes:development Nov 14, 2023
69 checks passed
guj pushed a commit to guj/amrex that referenced this pull request Dec 13, 2023
## Summary

This PR replaces the explicit use of `MF` constructors in
`MLCGSolverT<MF>::solve_cg` with calls to the make method of the linear
operator associated with the `MLCGSolverT` object.

## Additional background

This is a similar to the PR on `solve_bicgstab`.
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