Home
last modified time | relevance | path

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

/petsc/src/vec/is/sf/utils/
H A Dsfutils.c728 …ingIndices(PetscLayout layout, PetscInt numRootIndices, const PetscInt rootIndices[], const PetscI… in PetscSFCreateByMatchingIndices() argument
739 if (rootIndices) PetscAssertPointer(rootIndices, 3); in PetscSFCreateByMatchingIndices()
751 areIndicesSame = (PetscBool)(leafIndices == rootIndices); in PetscSFCreateByMatchingIndices()
757 if (rootIndices[i] > N1) N1 = rootIndices[i]; in PetscSFCreateByMatchingIndices()
773 …PetscCall(PetscSFSetGraphLayout(sf1, layout, numRootIndices, NULL, PETSC_OWN_POINTER, rootIndices)… in PetscSFCreateByMatchingIndices()
/petsc/src/dm/impls/plex/
H A Dplextree.c2072 PetscInt *rootIndices, *leafIndices; in DMPlexComputeInterpolatorTree() local
2234 PetscCall(PetscMalloc2(numRootIndices, &rootIndices, numRootMatrices, &rootMatrices)); in DMPlexComputeInterpolatorTree()
2252 pInd = &rootIndices[pIndOff]; 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()
2480 PetscCall(PetscFree2(rootIndices, rootMatrices)); in DMPlexComputeInterpolatorTree()
3517 PetscInt *rootIndices = NULL, *parentIndices, pRefStart, pRefEnd; in DMPlexComputeInjectorTree() local
3549 …seToFine, childIds, NULL, numFields, offsets, &multiRootSec, &rootIndicesSec, &rootIndices, NULL)); in DMPlexComputeInjectorTree()
3593 childId = rootIndices[offset++]; in DMPlexComputeInjectorTree()
3594 childIndices = &rootIndices[offset]; in DMPlexComputeInjectorTree()
[all …]
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c1026 …ingIndices(PetscLayout layout, PetscInt numRootIndices, const PetscInt rootIndices[], const PetscI… in PetscSFFindMatchingIndices() argument
1038 if (rootIndices) PetscAssertPointer(rootIndices, 3); in PetscSFFindMatchingIndices()
1048 areIndicesSame = (PetscBool)(leafIndices == rootIndices); in PetscSFFindMatchingIndices()
1054 if (rootIndices[i] > N1) N1 = rootIndices[i]; in PetscSFFindMatchingIndices()
1074 …etscCall(PetscSFSetGraphLayout(sf1, layout, numRootIndices, NULL, PETSC_OWN_POINTER, rootIndices)); in PetscSFFindMatchingIndices()