DMPlexDistributeField#
Distribute field data to match a given PetscSF, usually the PetscSF 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
Input Parameters#
dm - The
DMPLEXobjectpointSF - The
PetscSFdescribing the communication patternoriginalSection - The
PetscSectionfor existing data layoutoriginalVec - The existing data in a local vector
Output Parameters#
newSection - The
PetscSFdescribing the new data layoutnewVec - The new data in a local vector
See Also#
DMPLEX, DMPlexDistribute(), DMPlexDistributeFieldIS(), DMPlexDistributeData()
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