Home
last modified time | relevance | path

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

/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h2793 PetscInt *rootTypeCopy, p; in DMPforestGetTransferSF_Point() local
2795 PetscCall(PetscMalloc1(pEndF - pStartF, &rootTypeCopy)); in DMPforestGetTransferSF_Point()
2796 PetscCall(PetscArraycpy(rootTypeCopy, rootType, pEndF - pStartF)); in DMPforestGetTransferSF_Point()
2797 PetscCall(PetscSFReduceBegin(pointSF, MPIU_INT, rootTypeCopy, rootTypeCopy, MPI_MAX)); in DMPforestGetTransferSF_Point()
2798 PetscCall(PetscSFReduceEnd(pointSF, MPIU_INT, rootTypeCopy, rootTypeCopy, MPI_MAX)); in DMPforestGetTransferSF_Point()
2799 PetscCall(PetscSFBcastBegin(pointSF, MPIU_INT, rootTypeCopy, rootTypeCopy, MPI_REPLACE)); in DMPforestGetTransferSF_Point()
2800 PetscCall(PetscSFBcastEnd(pointSF, MPIU_INT, rootTypeCopy, rootTypeCopy, MPI_REPLACE)); in DMPforestGetTransferSF_Point()
2802 …if (rootTypeCopy[p - pStartF] > rootType[p - pStartF]) { /* another process found a root of higher… in DMPforestGetTransferSF_Point()
2806 …if (formCids && rootTypeCopy[p - pStartF] == PETSC_INT_MAX) cids[p - pStartF] = -1; /* we have fou… in DMPforestGetTransferSF_Point()
2808 PetscCall(PetscFree(rootTypeCopy)); in DMPforestGetTransferSF_Point()