VecSerialize

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

Synopsis

#include "petscvec.h" 
int VecSerialize(MPI_Comm comm, Vec *v, PetscViewer viewer, PetscTruth store)
Collective on MPI_Comm

Input Parameters

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

Output Parameter

v -The vector

Keywords

vector, serialize

See Also

GridSerialize()

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