: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 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)