PetscSectionClone#

Creates a shallow (if possible) copy of the PetscSection

Synopsis#

#include "petscsection.h"   
PetscErrorCode PetscSectionClone(PetscSection section, PetscSection *newSection)

Collective

Input Parameter#

  • section - the PetscSection

Output Parameter#

  • newSection - the copy

See Also#

PetscSection, PetscSectionCreate(), PetscSectionDestroy()

Level#

beginner

Location#

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

Examples#

src/ts/tutorials/ex18.c.html


Edit on GitLab

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