petsc-master 2014-09-30
Report Typos and Errors


Distribute field data to match a given PetscSF, usually the SF from mesh distribution


#include "petscdmplex.h"   
PetscErrorCode DMPlexDistributeData(DM dm, PetscSF pointSF, PetscSection originalSection, MPI_Datatype datatype, void *originalData, PetscSection newSection, void **newData)
Collective on DM

Input Parameters

dm - The DMPlex object
pointSF - The PetscSF describing the communication pattern
originalSection - The PetscSection for existing data layout
datatype - The type of data
originalData - The existing data

Output Parameters

newSection - The PetscSF describing the new data layout
newData - The new data

See Also

DMPlexDistribute(), DMPlexDistributeField()

Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages