PetscMapSerialize

This function stores or recreates a map using a viewer for a binary file.

Synopsis

#include "petscvec.h"  
int PetscMapSerialize(MPI_Comm comm, PetscMap *map, PetscViewer viewer, PetscTruth store)
Collective on MPI_Comm

Input Parameters

comm - The communicator for the map object
viewer - The viewer context
store - This flag is PETSC_TRUE is data is being written, otherwise it will be read

Output Parameter

map -The map

Keywords

maptor, serialize

See Also

GridSerialize()

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