Home
last modified time | relevance | path

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

/petsc/src/vec/is/sf/utils/
H A Dsfutils.c728 PetscErrorCode PetscSFCreateByMatchingIndices(PetscLayout layout, PetscInt numRootIndices, const Pe… in PetscSFCreateByMatchingIndices() argument
745 …scCheck(numRootIndices >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "numRootIndices (%" PetscI… in PetscSFCreateByMatchingIndices()
753numRootIndices, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "leafIndices == rootIndices, but numLeafIndi… in PetscSFCreateByMatchingIndices()
756 for (i = 0; i < numRootIndices; i++) in PetscSFCreateByMatchingIndices()
773 …PetscCall(PetscSFSetGraphLayout(sf1, layout, numRootIndices, NULL, PETSC_OWN_POINTER, rootIndices)… in PetscSFCreateByMatchingIndices()
774 PetscCall(PetscMalloc1(numRootIndices, &owners)); in PetscSFCreateByMatchingIndices()
775 for (i = 0; i < numRootIndices; ++i) { in PetscSFCreateByMatchingIndices()
822 …PetscCall(PetscSFSetGraph(*sf, rootLocalOffset + numRootIndices, nleaves, ilocal, PETSC_OWN_POINTE… in PetscSFCreateByMatchingIndices()
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c1026 static PetscErrorCode PetscSFFindMatchingIndices(PetscLayout layout, PetscInt numRootIndices, const… in PetscSFFindMatchingIndices() argument
1042 …scCheck(numRootIndices >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "numRootIndices (%" PetscI… in PetscSFFindMatchingIndices()
1050numRootIndices, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "leafIndices == rootIndices, but numLeafIndi… in PetscSFFindMatchingIndices()
1053 for (PetscInt i = 0; i < numRootIndices; i++) in PetscSFFindMatchingIndices()
1074 …PetscCall(PetscSFSetGraphLayout(sf1, layout, numRootIndices, NULL, PETSC_OWN_POINTER, rootIndices)… in PetscSFFindMatchingIndices()
1080 PetscCall(PetscMalloc1(numRootIndices, &roots)); in PetscSFFindMatchingIndices()
1081 for (PetscInt i = 0; i < numRootIndices; ++i) { in PetscSFFindMatchingIndices()
/petsc/src/dm/impls/plex/
H A Dplextree.c2230 PetscInt numRootIndices, numRootMatrices; in DMPlexComputeInterpolatorTree() local
2232 PetscCall(PetscSectionGetStorageSize(rootIndicesSec, &numRootIndices)); in DMPlexComputeInterpolatorTree()
2234 PetscCall(PetscMalloc2(numRootIndices, &rootIndices, numRootMatrices, &rootMatrices)); in DMPlexComputeInterpolatorTree()
3478 PetscInt *remoteOffsets, numRootIndices; in DMPlexTransferInjectorTree() local
3486 PetscCall(PetscSectionGetStorageSize(rootIndicesSec, &numRootIndices)); in DMPlexTransferInjectorTree()
3488 PetscCall(PetscMalloc1(numRootIndices, &rootInds)); in DMPlexTransferInjectorTree()
3493 PetscCall(PetscMalloc1(numRootIndices, &rootVals)); in DMPlexTransferInjectorTree()