:orphan:
# SNESNASMGetSubdomainVecs
Get the processor-local subdomain vectors for the nonlinear additive Schwarz solver
## Synopsis
```
#include "petscsnes.h"
PetscErrorCode SNESNASMGetSubdomainVecs(SNES snes, PetscInt *n, Vec **x, Vec **y, Vec **b, Vec **xl)
```
Not Collective
## Input Parameter
- ***snes -*** the `SNES` context
## Output Parameters
- ***n -*** the number of local subdomains
- ***x -*** The subdomain solution vector
- ***y -*** The subdomain step vector
- ***b -*** The subdomain RHS vector
- ***xl -*** The subdomain local vectors (ghosted)
## See Also
`SNESNASM`, `SNESNASMGetSubdomains()`
## Level
developer
## Location
src/snes/impls/nasm/nasm.c
## Implementations
SNESNASMGetSubdomainVecs_NASM in 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)