Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexsubmesh.c3814 PetscInt nleaves1, point; in DMPlexCreateSubmeshGeneric_Interpolated() local
3827 for (p = 0, nleaves1 = 0; p < numRoots; ++p) { in DMPlexCreateSubmeshGeneric_Interpolated()
3828 if (newOwners[p].rank >= 0 && newOwners[p].rank != rank) ++nleaves1; in DMPlexCreateSubmeshGeneric_Interpolated()
3830 PetscCall(PetscMalloc1(nleaves1, &ilocal1)); in DMPlexCreateSubmeshGeneric_Interpolated()
3831 PetscCall(PetscMalloc1(nleaves1, &iremote1)); in DMPlexCreateSubmeshGeneric_Interpolated()
3832 for (p = 0, nleaves1 = 0; p < numRoots; ++p) { in DMPlexCreateSubmeshGeneric_Interpolated()
3834 ilocal1[nleaves1] = pStart + p; in DMPlexCreateSubmeshGeneric_Interpolated()
3835 iremote1[nleaves1].rank = newOwners[p].rank; in DMPlexCreateSubmeshGeneric_Interpolated()
3836 iremote1[nleaves1].index = newOwners1[p].index; in DMPlexCreateSubmeshGeneric_Interpolated()
3837 ++nleaves1; in DMPlexCreateSubmeshGeneric_Interpolated()
[all …]