PetscSectionDestroy#

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

Synopsis#

#include "petscsection.h"   
PetscErrorCode PetscSectionDestroy(PetscSection *s)

Not Collective

Input Parameters#

See Also#

PetscSection, PetscSection, PetscSectionCreate(), PetscSectionReset()

Level#

beginner

Location#

src/vec/is/section/interface/section.c

Examples#

src/dm/impls/plex/tutorials/ex14.c.html
src/dm/impls/plex/tutorials/ex1.c.html
src/dm/impls/plex/tutorials/ex1f90.F90.html
src/dm/impls/plex/tutorials/ex6.c.html
src/dm/impls/plex/tutorials/ex7.c.html
src/dm/tutorials/ex20.c.html
src/dm/tutorials/ex21.c.html
src/ts/tutorials/ex11.c.html
src/ts/tutorials/ex11_sa.c.html
src/ts/tutorials/ex18.c.html
src/ts/tutorials/ex52.c.html


Edit on GitLab

Index of all PetscSection routines
Table of Contents for all manual pages
Index of all manual pages