PetscMapDestroy

Frees a map object and frees its range if that exists.

Synopsis

#include "petscvec.h"   
#undef __FUNCT__  
#define __FUNCT__ "PetscMapDestroy"
PetscErrorCode PETSCVEC_DLLEXPORT PetscMapDestroy(PetscMap *map)
Collective on MPI_Comm

Input Parameters

map -the PetscMap

Unlike regular PETSc objects you work with a pointer to the object instead of the object directly.

The PetscMap object and methods are intended to be used in the PETSc Vec and Mat implementions; it is recommended they not be used in user codes unless you really gain something in their use.

Fortran Notes

Not available from Fortran

See Also

PetscMapSetLocalSize(), PetscMapSetSize(), PetscMapGetSize(), PetscMapGetLocalSize(), PetscMap, PetscMapInitialize(),
PetscMapGetRange(), PetscMapGetRanges(), PetscMapSetBlockSize(), PetscMapGetBlockSize(), PetscMapSetUp()

Level:developer
Location:
src/vec/vec/impls/mpi/pmap.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages