DMRestoreNamedLocalVector#

restore access to a named, persistent local vector obtained with DMGetNamedLocalVector()

Synopsis#

#include "petscdm.h" 
PetscErrorCode DMRestoreNamedLocalVector(DM dm, const char *name, Vec *X)

Not Collective

Input Parameters#

  • dm - DM on which X was gotten

  • name - name under which X was gotten

  • X - Vec to restore

See Also#

DM, DMRestoreNamedGlobalVector(), DMGetNamedLocalVector(), DMClearNamedLocalVectors()

Level#

developer

Location#

src/dm/interface/dmget.c

Examples#

src/ts/tutorials/ex29.c


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