MeshCreateLocalVector

Creates a vector of the correct size for local computation.

Synopsis

#include "petscmesh.h"   
PetscErrorCode PETSCDM_DLLEXPORT MeshCreateLocalVector(Mesh mesh, Vec *lvec)
Collective on Mesh

Input Parameter

mesh -the mesh object

Output Parameters

lvec -the local vector

Notes: Once this has been created you cannot add additional arrays or vectors to be packed.

See Also

MeshDestroy(), MeshCreate(), MeshCreateGlobalVector()

Level:advanced
Location:
src/dm/mesh/mesh.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages