petsc-3.14.5 2021-03-03
Report Typos and Errors

# SNESCompositeGetSNES

Gets one of the SNES objects in the composite SNES.

### Synopsis

    #include "petscsnes.h"
    PetscErrorCode  SNESCompositeGetSNES(SNES snes,PetscInt n,SNES *subsnes)

Not Collective

### Input Parameter

| snes | - the preconditioner context
| n | - the number of the snes requested

### Output Parameters

| subsnes | - the SNES requested

### See Also

SNESCompositeAddSNES()

### Level

Developer

### Location

src/snes/impls/composite/snescomposite.c

### Implementations

SNESCompositeGetSNES_Composite in src/snes/impls/composite/snescomposite.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages