:orphan: # SNES_DIVERGED_FNORM_NAN the 2-norm of the current function evaluation is not-a-number (NaN), this is usually caused by a division of 0 by 0. ## See Also [](ch_snes), `SNES`, `SNESSolve()`, `SNESGetConvergedReason()`, `SNESConvergedReason`, `SNESSetTolerances()` ## Level beginner ## Location include/petscsnes.h --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscsnes.h) [Index of all SNES routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)