petsc-3.7.7 2017-09-25
Report Typos and Errors

DMPlexDistributeField

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

Synopsis

#include "petscdmplex.h"   
#include "petscdmlabel.h"  
PetscErrorCode DMPlexDistributeField(DM dm, PetscSF pointSF, PetscSection originalSection, Vec originalVec, PetscSection newSection, Vec newVec)
Collective on DM

Input Parameters

dm - The DMPlex object
pointSF - The PetscSF describing the communication pattern
originalSection - The PetscSection for existing data layout
originalVec - The existing data

Output Parameters

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

See Also

DMPlexDistribute(), DMPlexDistributeFieldIS(), DMPlexDistributeData()

Level:developer
Location:
src/dm/impls/plex/plexdistribute.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages