#include "petscdmplex.h" #include "petscdmlabel.h" PetscErrorCode DMPlexDistributeData(DM dm, PetscSF pointSF, PetscSection originalSection, MPI_Datatype datatype, void *originalData, PetscSection newSection, void **newData)Collective on DM
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 |
newSection | - The PetscSection describing the new data layout | |
newData | - The new data |