Dear All,<br><br>I want to turn off checking the convergence in SNES actually when the KSP did not convergence due to low number of subspaces. I did the following:<br><br>PetscErrorCode solver::SNESConvTest( SNES snes, PetscInt it, PetscReal xn, PetscReal gn, PetscReal f, SNESConvergedReason* res, void* ctx)
<br>{
<br>    *res =  SNES_CONVERGED_ITERATING;
<br>    PetscFunctionReturn( 0 );
<br>}
<br><br>but I still receives the stopping alert:<br><br>Linear solve did not converge due to DIVERGED_ITS iterations 30<br>Nonlinear solve did not converge due to DIVERGED_LINEAR_SOLVE<br><br>Then what is the proper way?<br>
<br>Regards,<br>BehZad<br>