:orphan: # SNESNASMGetNumber Gets number of subsolvers ## Synopsis ``` #include "petscsnes.h" PetscErrorCode SNESNASMGetNumber(SNES snes, PetscInt *n) ``` Not Collective ## Input Parameter - ***snes -*** the `SNES` context ## Output Parameter - ***n -*** the number of subsolvers ## See Also `SNESNASM`, `SNESNASMGetSNES()` ## Level intermediate ## Location src/snes/impls/nasm/nasm.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/impls/nasm/nasm.c) [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)