petsc-3.3-p7 2013-05-11

PetscSectionDestroy

Frees a section object and frees its range if that exists.

Synopsis

#include "petscvec.h"   
#undef __FUNCT__
#define __FUNCT__ "PetscSectionDestroy"
PetscErrorCode  PetscSectionDestroy(PetscSection *s)
Collective on MPI_Comm

Input Parameters

s -the PetscSection

The PetscSection object and methods are intended to be used in the PETSc Vec and Mat implementions; it is recommended they not be used in user codes unless you really gain something in their use.

Fortran Notes

Not available from Fortran

See Also

PetscSection, PetscSectionCreate()

Level:developer
Location:
src/vec/vec/impls/seq/vsection.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex12.c.html