Searched refs:remoteadj (Results 1 – 1 of 1) sorted by relevance
476 PetscInt *remoteadj, radjsize = 0; in DMPlexCreateAdjacencySection_Static() local481 PetscCall(PetscMalloc1(radjsize, &remoteadj)); in DMPlexCreateAdjacencySection_Static()482 PetscCall(PetscSFGatherBegin(sfAdj, MPIU_INT, adj, remoteadj)); in DMPlexCreateAdjacencySection_Static()483 PetscCall(PetscSFGatherEnd(sfAdj, MPIU_INT, adj, remoteadj)); in DMPlexCreateAdjacencySection_Static()486 for (s = 0; s < indegree[p]; ++s, ++r) rootAdj[l + s] = remoteadj[r]; in DMPlexCreateAdjacencySection_Static()490 PetscCall(PetscFree(remoteadj)); in DMPlexCreateAdjacencySection_Static()