DMPlexDistributeData#
Distribute field data to match a given PetscSF, usually the PetscSF from mesh distribution
Synopsis#
#include "petscdmplex.h"   
#include "petscdmlabel.h"  
PetscErrorCode DMPlexDistributeData(DM dm, PetscSF pointSF, PetscSection originalSection, MPI_Datatype datatype, void *originalData, PetscSection newSection, void **newData)
Collective
Input Parameters#
- dm - The - DMPLEXobject
- pointSF - The - PetscSFdescribing the communication pattern
- originalSection - The - PetscSectionfor existing data layout
- datatype - The type of data 
- originalData - The existing data 
Output Parameters#
- newSection - The - PetscSectiondescribing the new data layout
- newData - The new data 
See Also#
Level#
developer
Location#
src/dm/impls/plex/plexdistribute.c
Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages