petsc-3.7.1 2016-05-15
Report Typos and Errors

DMHasNamedGlobalVector

check for a named, persistent global vector

Synopsis

#include "petscdm.h" 
PetscErrorCode DMHasNamedGlobalVector(DM dm,const char *name,PetscBool *exists)
Not Collective Many br

Input Arguments

dm - DM to hold named vectors Many br
name - unique name for Vec Many br

Output Arguments

exists -true if the vector was previously created Many br

Many br

Note: If a Vec with the given name does not exist, it is created. Many br

See Also

DMGetNamedGlobalVector(),DMRestoreNamedLocalVector()

Level:developer
Location:
src/dm/interface/dmget.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages