# PetscMapSetUp

Sets up the internal map data structures for the later use.

### Synopsis

    #include "petscvec.h"
    PetscErrorCode PETSCVEC_DLLEXPORT PetscMapSetUp(PetscMap map)

Collective on PetscMap

### Input Parameters

map -the PetscMap context

### Notes

For basic use of the PetscMap classes the user need not explicitly call PetscMapSetUp(), since these actions will happen automatically.

### Keywords

PetscMap, setup

### See Also

PetscMapCreate(), PetscMapDestroy()

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