Home
last modified time | relevance | path

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

/petsc/src/vec/is/is/utils/
H A Disdiff.c799 const PetscInt *findices; in ISSortPermutation() local
807 PetscCall(ISGetIndices(f, &findices)); in ISSortPermutation()
812 if (findices[i] <= findices[i - 1]) { in ISSortPermutation()
818 PetscCall(ISRestoreIndices(f, &findices)); in ISSortPermutation()
824 PetscCall(PetscSortIntWithPermutation(fsize, findices, hindices)); in ISSortPermutation()
825 PetscCall(ISRestoreIndices(f, &findices)); in ISSortPermutation()
/petsc/src/dm/impls/swarm/
H A Dswarm.c542 PetscInt *findices, *cindices; /* fine is vertices, coarse is particles */ in DMSwarmComputeMassMatrix_Private() local
545 …ureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NULL, NULL)); in DMSwarmComputeMassMatrix_Private()
552 key.j = findices[i]; /* global column (from Plex) */ in DMSwarmComputeMassMatrix_Private()
570 …ureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NULL, NULL)); in DMSwarmComputeMassMatrix_Private()
591 PetscInt *findices, *cindices; in DMSwarmComputeMassMatrix_Private() local
596 …ureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NULL, NULL)); in DMSwarmComputeMassMatrix_Private()
625 …PetscCall(MatSetValues(mass, numCIndices * Nc, rowIDXs, numFIndices, findices, elemMat, ADD_VALUES… in DMSwarmComputeMassMatrix_Private()
627 …ureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NULL, NULL)); in DMSwarmComputeMassMatrix_Private()
817 PetscInt *findices, *cindices; in DMSwarmComputeMassMatrixSquare_Private() local
822 …ureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NULL, NULL)); in DMSwarmComputeMassMatrixSquare_Private()
[all …]
/petsc/src/ksp/pc/impls/gamg/
H A Dgamg.c446 IS findices; in PCGAMGCreateLevel_GAMG() local
451 PetscCall(ISCreateStride(comm, Iend - Istart, Istart, 1, &findices)); in PCGAMGCreateLevel_GAMG()
452 PetscCall(ISSetBlockSize(findices, f_bs)); in PCGAMGCreateLevel_GAMG()
453 PetscCall(MatCreateSubMatrix(Pold, findices, new_eq_indices, MAT_INITIAL_MATRIX, &Pnew)); in PCGAMGCreateLevel_GAMG()
454 PetscCall(ISDestroy(&findices)); in PCGAMGCreateLevel_GAMG()
/petsc/src/dm/impls/plex/
H A Dplexfem.c3234 PetscInt *findices, *cindices; in DMPlexComputeInterpolatorGeneral() local
3237 …ureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NULL, NULL)); in DMPlexComputeInterpolatorGeneral()
3245 PetscInt numCoarseCells, cpdim, row = findices[i + off], q, c, j; in DMPlexComputeInterpolatorGeneral()
3307 …ureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NULL, NULL)); in DMPlexComputeInterpolatorGeneral()
3401 PetscInt *findices, *cindices; in DMPlexComputeMassMatrixGeneral() local
3404 …ureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NULL, NULL)); in DMPlexComputeMassMatrixGeneral()
3429 key.i = findices[i]; in DMPlexComputeMassMatrixGeneral()
3450 …ureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NULL, NULL)); in DMPlexComputeMassMatrixGeneral()
3482 PetscInt *findices, *cindices; in DMPlexComputeMassMatrixGeneral() local
3485 …ureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NULL, NULL)); in DMPlexComputeMassMatrixGeneral()
[all …]
H A Dplex.c8560 PetscInt *findices, *cindices; in DMPlexMatSetClosureRefined() local
8658 PetscCall(DMGetWorkArray(dmf, numFIndices, MPIU_INT, &findices)); in DMPlexMatSetClosureRefined()
8670 …lobalOff < 0 ? -(globalOff + 1) : globalOff, foffsets, PETSC_FALSE, permsF, p, fclperm, findices)); in DMPlexMatSetClosureRefined()
8690 …2 * p], globalOff < 0 ? -(globalOff + 1) : globalOff, &off, PETSC_FALSE, perm, fclperm, findices)); in DMPlexMatSetClosureRefined()
8701 …MPlexPrintMatSetValues(PETSC_VIEWER_STDOUT_SELF, A, point, numFIndices, findices, numCIndices, cin… in DMPlexMatSetClosureRefined()
8704 ierr = MatSetValues(A, numFIndices, findices, numCIndices, cindices, values, mode); in DMPlexMatSetClosureRefined()
8710 …PetscCall(DMPlexPrintMatSetValues(PETSC_VIEWER_STDERR_SELF, A, point, numFIndices, findices, numCI… in DMPlexMatSetClosureRefined()
8711 PetscCall(DMRestoreWorkArray(dmf, numFIndices, MPIU_INT, &findices)); in DMPlexMatSetClosureRefined()
8716 PetscCall(DMRestoreWorkArray(dmf, numFIndices, MPIU_INT, &findices)); in DMPlexMatSetClosureRefined()
8721 …on csection, PetscSection globalCSection, PetscInt point, PetscInt cindices[], PetscInt findices[]) in DMPlexMatGetClosureIndicesRefined() argument
[all …]