Home
last modified time | relevance | path

Searched refs:depthRecv (Results 1 – 1 of 1) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexdistribute.c779 PetscInt *depthRecv, *depthShift, *depthIdx; in DMPlexCreateOverlapMigrationSF() local
804 PetscCall(PetscMalloc3(dim + 1, &depthRecv, dim + 1, &depthShift, dim + 1, &depthIdx)); in DMPlexCreateOverlapMigrationSF()
805 for (d = 0; d < dim + 1; d++) depthRecv[d] = 0; in DMPlexCreateOverlapMigrationSF()
806 for (p = 0; p < nleaves; p++) depthRecv[remoteDepths[p]]++; in DMPlexCreateOverlapMigrationSF()
808 for (d = 0; d < dim; d++) depthShift[d] = depthRecv[dim]; in DMPlexCreateOverlapMigrationSF()
809 for (d = 1; d < dim; d++) depthShift[d] += depthRecv[0]; in DMPlexCreateOverlapMigrationSF()
810 for (d = dim - 2; d > 0; d--) depthShift[d] += depthRecv[d + 1]; in DMPlexCreateOverlapMigrationSF()
863 PetscCall(PetscFree3(depthRecv, depthShift, depthIdx)); in DMPlexCreateOverlapMigrationSF()
891 PetscInt *depthRecv, *depthShift, *depthIdx; in DMPlexStratifyMigrationSF() local
926 …PetscCall(PetscCalloc6(depth + 1, &depthRecv, depth + 1, &depthShift, depth + 1, &depthIdx, DM_NUM… in DMPlexStratifyMigrationSF()
[all …]