AMReX-Codes / amrex

AMReX: Software Framework for Block Structured AMR
https://amrex-codes.github.io/amrex
Other
506 stars 337 forks source link

Fix BottomSolver::bicgcg #4020

Closed WeiqunZhang closed 1 week ago

WeiqunZhang commented 1 week ago

This is a follow-up on #3991. For BottomSolver::bicgcg, it is supposed to switch to cg if bicg fails. Note that this does not revert #3991 completely. It fixes the implementation in #3991. We still keep the unconverged result if it's an improvement.

X-Ref: https://github.com/AMReX-Combustion/PeleLMeX/issues/396