petsc-3.11.4 2019-09-28
DMCreateLocalVector
Creates a local vector from a DM object
Synopsis
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMCreateLocalVector(DM dm,Vec *vec)
Not Collective
Input Parameter
dm -the DM object
Output Parameter
vec -the local vector
See Also
DMDestroy(), DMView(), DMCreateInterpolation(), DMCreateColoring(), DMCreateMatrix()
Level
beginner
Location
src/dm/interface/dm.c
Examples
src/dm/examples/tutorials/ex1.c.html
src/dm/examples/tutorials/ex5.c.html
src/dm/examples/tutorials/ex6.c.html
src/dm/examples/tutorials/ex7.c.html
src/dm/examples/tutorials/ex9.c.html
src/dm/examples/tutorials/ex13f90.F90.html
src/dm/field/examples/tutorials/ex1.c.html
src/ksp/ksp/examples/tutorials/ex42.c.html
src/ksp/ksp/examples/tutorials/ex43.c.html
src/ksp/ksp/examples/tutorials/ex49.c.html
src/ksp/ksp/examples/tutorials/ex65.c.html
Implementations
DMCreateLocalVector_Composite in src/dm/impls/composite/pack.c
DMCreateLocalVector_DA in src/dm/impls/da/dalocal.c
DMCreateLocalVector_pforest in src/dm/impls/forest/p4est/pforest.c
DMCreateLocalVector_Moab in src/dm/impls/moab/dmmbvec.cxx
DMCreateLocalVector_Network in src/dm/impls/network/networkcreate.c
DMCreateLocalVector_Patch in src/dm/impls/patch/patch.c
DMCreateLocalVector_Plex in src/dm/impls/plex/plexcreate.c
DMCreateLocalVector_Redundant in src/dm/impls/redundant/dmredundant.c
DMCreateLocalVector_Shell in src/dm/impls/shell/dmshell.c
DMCreateLocalVector_Stag in src/dm/impls/stag/stag.c
DMCreateLocalVector_Swarm in src/dm/impls/swarm/swarm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages