Searched refs:rootAdj (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexpreallocate.c | 250 …PetscInt *tmpAdj = NULL, *adj, *rootAdj, *anchorAdj = NULL, *cols, *remoteOffsets, *myRan… in DMPlexCreateAdjacencySection_Static() local 472 PetscCall(PetscMalloc1(adjSize, &rootAdj)); in DMPlexCreateAdjacencySection_Static() 473 for (r = 0; r < adjSize; ++r) rootAdj[r] = -1; in DMPlexCreateAdjacencySection_Static() 486 for (s = 0; s < indegree[p]; ++s, ++r) rootAdj[l + s] = remoteadj[r]; in DMPlexCreateAdjacencySection_Static() 497 PetscCall(PetscSectionArrayView(rootSectionAdj, rootAdj, PETSC_INT, NULL)); in DMPlexCreateAdjacencySection_Static() 518 rootAdj[aoff + i] = anchorAdj[anOff + q]; in DMPlexCreateAdjacencySection_Static() 530 rootAdj[aoff + i] = ngoff < 0 ? -(ngoff + 1) + nd : ngoff + nd; in DMPlexCreateAdjacencySection_Static() 539 PetscCall(PetscSectionArrayView(rootSectionAdj, rootAdj, PETSC_INT, NULL)); in DMPlexCreateAdjacencySection_Static() 556 PetscCall(PetscSortRemoveDupsInt(&adof, &rootAdj[aoff])); in DMPlexCreateAdjacencySection_Static() 563 PetscCall(PetscSectionArrayView(rootSectionAdj, rootAdj, PETSC_INT, NULL)); in DMPlexCreateAdjacencySection_Static() [all …]
|