Home
last modified time | relevance | path

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

/petsc/src/vec/is/sf/utils/
H A Dsfutils.c728 …s[], PetscInt rootLocalOffset, PetscInt numLeafIndices, const PetscInt leafIndices[], const PetscI… in PetscSFCreateByMatchingIndices() argument
741 if (leafIndices) PetscAssertPointer(leafIndices, 7); in PetscSFCreateByMatchingIndices()
751 areIndicesSame = (PetscBool)(leafIndices == rootIndices); in PetscSFCreateByMatchingIndices()
763 if (leafIndices[i] > N1) N1 = leafIndices[i]; in PetscSFCreateByMatchingIndices()
788 …etscCall(PetscSFSetGraphLayout(sf1, layout, numLeafIndices, NULL, PETSC_OWN_POINTER, leafIndices)); in PetscSFCreateByMatchingIndices()
793 …SC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Global point %" PetscInt_FMT " was unclaimed", leafIndices[i]); in PetscSFCreateByMatchingIndices()
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c1026 …s[], PetscInt rootLocalOffset, PetscInt numLeafIndices, const PetscInt leafIndices[], const PetscI… in PetscSFFindMatchingIndices() argument
1040 if (leafIndices) PetscAssertPointer(leafIndices, 7); in PetscSFFindMatchingIndices()
1048 areIndicesSame = (PetscBool)(leafIndices == rootIndices); in PetscSFFindMatchingIndices()
1060 if (leafIndices[i] > N1) N1 = leafIndices[i]; in PetscSFFindMatchingIndices()
1099 …etscCall(PetscSFSetGraphLayout(sf1, layout, numLeafIndices, NULL, PETSC_OWN_POINTER, leafIndices)); in PetscSFFindMatchingIndices()
1108 …, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "No match found for index %" PetscInt_FMT, leafIndices[p]); in PetscSFFindMatchingIndices()
/petsc/src/dm/impls/plex/
H A Dplextree.c2072 PetscInt *rootIndices, *leafIndices; in DMPlexComputeInterpolatorTree() local
2473 PetscCall(PetscMalloc2(numLeafIndices, &leafIndices, numLeafMatrices, &leafMatrices)); in DMPlexComputeInterpolatorTree()
2474 PetscCall(PetscSFBcastBegin(indicesSF, MPIU_INT, rootIndices, leafIndices, MPI_REPLACE)); in DMPlexComputeInterpolatorTree()
2476 PetscCall(PetscSFBcastEnd(indicesSF, MPIU_INT, rootIndices, leafIndices, MPI_REPLACE)); in DMPlexComputeInterpolatorTree()
2526 pInd = &leafIndices[pIndOff]; in DMPlexComputeInterpolatorTree()
2693 pInd = &leafIndices[pIndOff]; in DMPlexComputeInterpolatorTree()
2806 PetscCall(PetscFree2(leafIndices, leafMatrices)); in DMPlexComputeInterpolatorTree()