GridSerialize

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

Synopsis

#include "grid.h"  
int GridSerialize(MPI_Comm comm, Grid *grid, PetscViewer viewer, PetscTruth store)
Collective on MPI_Comm

Input Parameters

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

Output Parameter

grid -The grid

Keywords

grid, serialize

See Also

PartitionSerialize(), GridSerialize()

Level:beginner
Location:
src/grid/interface/gridcreate.c
Index of all Grid routines
Table of Contents for all manual pages
Index of all manual pages