# VecGetPetscMap

Returns the map associated with the vector

### Synopsis

    #include "petscvec.h"
    PetscErrorCode PETSCVEC_DLLEXPORT VecGetPetscMap(Vec x,PetscMap *map)

Not Collective

### Input Parameter

x -the vector

### Output Parameters

map -the map

### C++ variants

| PetscMap VecGetPetscMap(Vec x) |  | -> |  | VecGetPetscMap(x,&y); return y;

Level:developer
Location:src/vec/interface/vector.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages