VecSetSerializeType

Sets the serialization method for the vector.

Synopsis

#include "petscvec.h"  
int VecSetSerializeType(Vec vec, VecSerializeType method)
Collective on Vec

Input Parameters

vec - The Vec object
method - The vector serialization type name

Options Database Command

-vec_serialize_type <method> -Sets the method; use -help for a list of available methods (for instance, seq_binary)

Notes

See "petsc/include/petscvec.h" for available methods (for instance)
VEC_SER_SEQ_BINARY - Sequential vector to binary file
VEC_SER_MPI_BINARY - MPI vector to binary file

Keywords

Vec, set, type, serialization

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