Lines Matching refs:leaf
1653 PetscInt *leaf, num_leaves = 0; in DMPlexCreateCGNS_Internal_Parallel() local
1673 PetscCall(PetscMalloc1(nleaves, &leaf)); in DMPlexCreateCGNS_Internal_Parallel()
1674 for (PetscInt i = 0; i < nleaves; i++) leaf[i] = -1; in DMPlexCreateCGNS_Internal_Parallel()
1689 if (leaf[li] == -1) { in DMPlexCreateCGNS_Internal_Parallel()
1690 leaf[li] = cgns_idx; in DMPlexCreateCGNS_Internal_Parallel()
1692 …} else PetscAssert(leaf[li] == cgns_idx, PETSC_COMM_SELF, PETSC_ERR_PLIB, "leaf does not match pre… in DMPlexCreateCGNS_Internal_Parallel()
1698 …etscCall(PetscSFSetGraphLayout(cgns_to_local_sf, vtx_map, nleaves, NULL, PETSC_USE_POINTER, leaf)); in DMPlexCreateCGNS_Internal_Parallel()
1701 PetscCall(PetscFree(leaf)); in DMPlexCreateCGNS_Internal_Parallel()
1960 for (PetscInt p = spStart, leaf = 0; p < spEnd; p++) { in DMPlexCreateNodeNumbering() local
1965 if (leaf < nleaves && p == ilocal[leaf]) { // skip points owned by a different process in DMPlexCreateNodeNumbering()
1966 leaf++; in DMPlexCreateNodeNumbering()
1974 for (PetscInt p = spStart, leaf = 0; p < spEnd; p++) { in DMPlexCreateNodeNumbering() local
1975 if (leaf < nleaves && p == ilocal[leaf]) { // skip points owned by a different process in DMPlexCreateNodeNumbering()
1977 leaf++; in DMPlexCreateNodeNumbering()