# SNESNASMGetNumber
Gets number of subsolvers 
## Synopsis
```
#include "petscsnes.h"   
PetscErrorCode SNESNASMGetNumber(SNES snes, PetscInt *n)
```
Not collective


## Input Parameters

- ***snes -*** the SNES context



## Output Parameters

- ***n -*** the number of subsolvers





## See Also
 `SNESNASM`, `SNESNASMGetSNES()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/impls/nasm/nasm.c.html#SNESNASMGetNumber">src/snes/impls/nasm/nasm.c</A>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
