PartitionSerialize

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

Synopsis

#include "mesh.h"  
int PartitionSerialize(Mesh mesh, Partition *part, PetscViewer viewer, PetscTruth store)
Collective on MPI_Comm

Input Parameters

mesh - The mesh that is partitioned
viewer - The viewer context
store - This flag is PETSC_TRUE is data is being written, otherwise it will be read

Output Parameter

part -The partition

Keywords

partition, serialize

See Also

MeshSerialize(), GridSerialize()

Level:beginner
Location:
src/mesh/interface/partcreate.c
Index of all Mesh routines
Table of Contents for all manual pages
Index of all manual pages