| /petsc/src/vec/is/is/tests/ ! |
| H A D | ex3.c | 14 IS is, newis; in main() local 32 PetscCall(ISAllGather(is, &newis)); in main() 34 if (rank == 0) PetscCall(ISView(newis, PETSC_VIEWER_STDOUT_SELF)); in main() 36 PetscCall(ISDestroy(&newis)); in main()
|
| H A D | ex1f.F90 | 14 IS is, newis 88 PetscCallA(ISInvertPermutation(is, PETSC_DECIDE, newis, ierr)) 89 PetscCallA(ISGetIndices(newis, ii, ierr)) 93 PetscCallA(ISRestoreIndices(newis, ii, ierr)) 94 PetscCallA(ISDestroy(newis, ierr))
|
| H A D | ex1.c | 15 IS is, newis; in main() local 105 PetscCall(ISInvertPermutation(is, PETSC_DECIDE, &newis)); in main() 106 PetscCall(ISGetIndices(newis, &ii)); in main() 108 PetscCall(ISRestoreIndices(newis, &ii)); in main() 109 PetscCall(ISDestroy(&newis)); in main()
|
| /petsc/src/vec/is/utils/ ! |
| H A D | isltog.c | 813 PetscErrorCode ISLocalToGlobalMappingApplyIS(ISLocalToGlobalMapping mapping, IS is, IS *newis) in ISLocalToGlobalMappingApplyIS() argument 821 PetscAssertPointer(newis, 3); in ISLocalToGlobalMappingApplyIS() 829 PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)is), n, idxout, PETSC_OWN_POINTER, newis)); in ISLocalToGlobalMappingApplyIS() 830 PetscCall(ISSetBlockSize(*newis, bs)); in ISLocalToGlobalMappingApplyIS() 1008 …alMappingApplyIS(ISLocalToGlobalMapping mapping, ISGlobalToLocalMappingMode type, IS is, IS *newis) in ISGlobalToLocalMappingApplyIS() argument 1016 PetscAssertPointer(newis, 4); in ISGlobalToLocalMappingApplyIS() 1028 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, nout, idxout, PETSC_OWN_POINTER, newis)); in ISGlobalToLocalMappingApplyIS() 1031 PetscCall(ISSetBlockSize(*newis, bs)); in ISGlobalToLocalMappingApplyIS()
|
| /petsc/src/vec/is/is/impls/stride/ ! |
| H A D | stride.c | 266 static PetscErrorCode ISOnComm_Stride(IS is, MPI_Comm comm, PetscCopyMode mode, IS *newis) in ISOnComm_Stride() argument 271 PetscCall(ISCreateStride(comm, is->map->n, sub->first, sub->step, newis)); in ISOnComm_Stride()
|
| /petsc/src/dm/impls/plex/tests/ ! |
| H A D | ex18.c | 918 …ic PetscErrorCode DMPlexExpandedConesToFaces_Private(DM dm, IS is, PetscSection section, IS *newis) in DMPlexExpandedConesToFaces_Private() argument 958 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, end - start, newarr, PETSC_OWN_POINTER, newis)); in DMPlexExpandedConesToFaces_Private() 965 IS is, newis; in DMPlexExpandedVerticesToFaces_Private() local 971 PetscCall(DMPlexExpandedConesToFaces_Private(dm, is, sections[d], &newis)); in DMPlexExpandedVerticesToFaces_Private() 973 is = newis; in DMPlexExpandedVerticesToFaces_Private()
|
| /petsc/src/vec/is/is/impls/block/ ! |
| H A D | block.c | 323 static PetscErrorCode ISOnComm_Block(IS is, MPI_Comm comm, PetscCopyMode mode, IS *newis) in ISOnComm_Block() argument 332 PetscCall(ISCreateBlock(comm, bs, n / bs, sub->idx, mode, newis)); in ISOnComm_Block()
|
| /petsc/src/vec/is/is/interface/ ! |
| H A D | index.c | 1902 PetscErrorCode ISOnComm(IS is, MPI_Comm comm, PetscCopyMode mode, IS *newis) in ISOnComm() argument 1908 PetscAssertPointer(newis, 4); in ISOnComm() 1912 *newis = is; in ISOnComm() 1913 } else PetscUseTypeMethod(is, oncomm, comm, mode, newis); in ISOnComm()
|
| /petsc/src/vec/is/is/impls/general/ ! |
| H A D | general.c | 56 static PetscErrorCode ISOnComm_General(IS is, MPI_Comm comm, PetscCopyMode mode, IS *newis) in ISOnComm_General() argument 64 PetscCall(ISCreateGeneral(comm, n, sub->idx, mode, newis)); in ISOnComm_General()
|
| /petsc/src/mat/interface/ ! |
| H A D | matrix.c | 6664 IS is, newis; in MatZeroRowsLocal() local 6669 PetscCall(ISLocalToGlobalMappingApplyIS(mat->rmap->mapping, is, &newis)); in MatZeroRowsLocal() 6670 PetscCall(ISGetIndices(newis, (const PetscInt **)&newRows)); in MatZeroRowsLocal() 6674 PetscCall(ISRestoreIndices(newis, (const PetscInt **)&newRows)); in MatZeroRowsLocal() 6675 PetscCall(ISDestroy(&newis)); in MatZeroRowsLocal() 6764 IS is, newis; in MatZeroRowsColumnsLocal() local 6769 PetscCall(ISLocalToGlobalMappingApplyIS(mat->rmap->mapping, is, &newis)); in MatZeroRowsColumnsLocal() 6770 PetscCall(ISGetIndices(newis, (const PetscInt **)&newRows)); in MatZeroRowsColumnsLocal() 6774 PetscCall(ISRestoreIndices(newis, (const PetscInt **)&newRows)); in MatZeroRowsColumnsLocal() 6775 PetscCall(ISDestroy(&newis)); in MatZeroRowsColumnsLocal()
|
| /petsc/src/mat/tests/ ! |
| H A D | ex23.c | 1132 PetscErrorCode ISL2GMapNoNeg(ISLocalToGlobalMapping mapping, IS is, IS *newis) in ISL2GMapNoNeg() argument 1145 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)is), nn, idxout, PETSC_OWN_POINTER, newis)); in ISL2GMapNoNeg()
|
| /petsc/src/ksp/pc/impls/bddc/ ! |
| H A D | bddc.c | 2426 static PetscErrorCode MatISSubMatrixEmbedLocalIS(Mat A, IS oldis, IS *newis) in MatISSubMatrixEmbedLocalIS() argument 2436 PetscCall(ISOnComm(is, PetscObjectComm((PetscObject)A), PETSC_COPY_VALUES, newis)); in MatISSubMatrixEmbedLocalIS()
|