Searched refs:numLeafIndices (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/vec/is/sf/utils/ ! |
| H A D | sfutils.c | 728 …onst PetscInt rootLocalIndices[], PetscInt rootLocalOffset, PetscInt numLeafIndices, const PetscIn… in PetscSFCreateByMatchingIndices() argument 746 …scCheck(numLeafIndices >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "numLeafIndices (%" PetscI… in PetscSFCreateByMatchingIndices() 753 …numLeafIndices == numRootIndices, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "leafIndices == rootIndice… in PetscSFCreateByMatchingIndices() 762 for (i = 0; i < numLeafIndices; i++) in PetscSFCreateByMatchingIndices() 788 …PetscCall(PetscSFSetGraphLayout(sf1, layout, numLeafIndices, NULL, PETSC_OWN_POINTER, leafIndices)… in PetscSFCreateByMatchingIndices() 789 PetscCall(PetscMalloc1(numLeafIndices, &owners)); in PetscSFCreateByMatchingIndices() 793 …for (i = 0; i < numLeafIndices; ++i) PetscCheck(owners[i].rank >= 0, PETSC_COMM_SELF, PETSC_ERR_AR… in PetscSFCreateByMatchingIndices() 801 for (i = 0, nleaves = 0; i < numLeafIndices; ++i) in PetscSFCreateByMatchingIndices() 805 for (i = 0, nleaves = 0; i < numLeafIndices; ++i) { in PetscSFCreateByMatchingIndices() 815 nleaves = numLeafIndices; in PetscSFCreateByMatchingIndices()
|
| /petsc/src/dm/impls/plex/cgns/ ! |
| H A D | plexcgns2.c | 1026 …onst PetscInt rootLocalIndices[], PetscInt rootLocalOffset, PetscInt numLeafIndices, const PetscIn… in PetscSFFindMatchingIndices() argument 1043 …scCheck(numLeafIndices >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "numLeafIndices (%" PetscI… in PetscSFFindMatchingIndices() 1050 …numLeafIndices == numRootIndices, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "leafIndices == rootIndice… in PetscSFFindMatchingIndices() 1059 for (PetscInt i = 0; i < numLeafIndices; i++) in PetscSFFindMatchingIndices() 1099 …if (!areIndicesSame) PetscCall(PetscSFSetGraphLayout(sf1, layout, numLeafIndices, NULL, PETSC_OWN_… in PetscSFFindMatchingIndices() 1103 …numLeafIndices, comm, PETSC_ERR_PLIB, "Section of matches has different chart size (%" PetscInt_FM… in PetscSFFindMatchingIndices()
|
| /petsc/src/dm/impls/plex/ ! |
| H A D | plextree.c | 2460 PetscInt *remoteOffsetsIndices, *remoteOffsetsMatrices, numLeafIndices, numLeafMatrices; in DMPlexComputeInterpolatorTree() local 2471 PetscCall(PetscSectionGetStorageSize(leafIndicesSec, &numLeafIndices)); in DMPlexComputeInterpolatorTree() 2473 PetscCall(PetscMalloc2(numLeafIndices, &leafIndices, numLeafMatrices, &leafMatrices)); in DMPlexComputeInterpolatorTree()
|