Searched refs:buffer1 (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 2007 PetscSFNode *buffer0, *buffer1, *buffer2; in DMPlexDistributionLoad_HDF5_Private() local 2010 PetscCall(PetscMalloc2(pEnd - pStart, &buffer0, lsize, &buffer1)); in DMPlexDistributionLoad_HDF5_Private() 2030 for (p = 0; p < lsize; ++p) buffer1[p].rank = -1; in DMPlexDistributionLoad_HDF5_Private() 2032 PetscCall(PetscSFReduceBegin(sf, MPIU_SF_NODE, buffer0, buffer1, MPI_MAXLOC)); in DMPlexDistributionLoad_HDF5_Private() 2033 PetscCall(PetscSFReduceEnd(sf, MPIU_SF_NODE, buffer0, buffer1, MPI_MAXLOC)); in DMPlexDistributionLoad_HDF5_Private() 2034 PetscCall(PetscSFBcastBegin(*distsf, MPIU_SF_NODE, buffer1, buffer2, MPI_REPLACE)); in DMPlexDistributionLoad_HDF5_Private() 2035 PetscCall(PetscSFBcastEnd(*distsf, MPIU_SF_NODE, buffer1, buffer2, MPI_REPLACE)); in DMPlexDistributionLoad_HDF5_Private() 2039 PetscCall(PetscFree2(buffer0, buffer1)); in DMPlexDistributionLoad_HDF5_Private() 2059 PetscSFNode *iremote, *buffer0, *buffer1; in DMPlexDistributionLoad_HDF5_Private() local 2061 PetscCall(PetscMalloc2(*chartSize, &buffer0, lsize, &buffer1)); in DMPlexDistributionLoad_HDF5_Private() [all …]
|