petsc-3.7.3 2016-07-24
Report Typos and Errors

# PetscSubcommDestroy

Destroys a PetscSubcomm object

### Synopsis

    #include "petscsys.h"
    PetscErrorCode  PetscSubcommDestroy(PetscSubcomm *psubcomm)

Collective on PetscSubcomm

### Input Parameter

. psubcomm - the PetscSubcomm context

### See Also

PetscSubcommCreate(),PetscSubcommSetType()

Level:advanced
Location: src/sys/objects/subcomm.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/sys/examples/tutorials/ex15.c.html