:orphan:
# SNESNASMGetSNES
Gets a subsolver 
## Synopsis
```
#include "petscsnes.h"   
PetscErrorCode SNESNASMGetSNES(SNES snes, PetscInt i, SNES *subsnes)
```
Not Collective


## Input Parameters

- ***snes -*** the `SNES` context
- ***i -*** the number of the subsnes to get



## Output Parameter

- ***subsnes -*** the subsolver context





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

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/impls/nasm/nasm.c.html#SNESNASMGetSNES">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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
