DMHasNamedLocalVector#
check for a named, persistent local vector created with DMGetNamedLocalVector()
Synopsis#
#include "petscdm.h"
PetscErrorCode DMHasNamedLocalVector(DM dm, const char *name, PetscBool *exists)
Not Collective
Input Parameters#
Output Parameter#
exists - true if the vector was previously created
Note#
If a Vec
with the given name does not exist, it is created.
See Also#
DM
, DMGetNamedGlobalVector()
, DMRestoreNamedLocalVector()
, DMClearNamedLocalVectors()
Level#
developer
Location#
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages