DMGetNamedGlobalVector#
get access to a named, persistent global vector
Synopsis#
#include "petscdm.h"
PetscErrorCode DMGetNamedGlobalVector(DM dm, const char *name, Vec *X)
Collective
Input Parameters#
dm -
DM
to hold named vectorsname - unique name for
X
Output Parameter#
X - named
Vec
Note#
If a Vec
with the given name does not exist, it is created.
See Also#
DM
, DMRestoreNamedGlobalVector()
, DMHasNamedGlobalVector()
, DMClearNamedGlobalVectors()
, DMGetGlobalVector()
, DMGetLocalVector()
Level#
developer
Location#
Examples#
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages