: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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/impls/nasm/nasm.c.html#SNESNASMGetSubdomainVecs">src/snes/impls/nasm/nasm.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/impls/nasm/nasm.c.html#SNESNASMGetSubdomainVecs_NASM">SNESNASMGetSubdomainVecs_NASM in src/snes/impls/nasm/nasm.c</A><BR>


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