Home
last modified time | relevance | path

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

/petsc/src/vec/is/is/utils/
H A Disblock.c23 …dicesGeneral(PetscInt n, PetscInt nkeys, PetscInt bs, PetscInt imax, const IS is_in[], IS is_out[]) in ISCompressIndicesGeneral() argument
47 PetscCall(ISGetLocalSize(is_in[i], &len)); in ISCompressIndicesGeneral()
49 PetscCall(PetscObjectTypeCompare((PetscObject)is_in[i], ISBLOCK, &isblock)); in ISCompressIndicesGeneral()
51 PetscCall(ISGetBlockSize(is_in[i], &bbs)); in ISCompressIndicesGeneral()
54 PetscCall(ISBlockGetIndices(is_in[i], &idx)); in ISCompressIndicesGeneral()
55 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)is_in[i]), len, idx, PETSC_COPY_VALUES, is_… in ISCompressIndicesGeneral()
56 PetscCall(ISBlockRestoreIndices(is_in[i], &idx)); in ISCompressIndicesGeneral()
66 PetscCall(ISGetIndices(is_in[i], &idx)); in ISCompressIndicesGeneral()
80 PetscCall(ISRestoreIndices(is_in[i], &idx)); in ISCompressIndicesGeneral()
95 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)is_in[i]), isz, nidx, PETSC_OWN_POINTER, is… in ISCompressIndicesGeneral()
[all …]
/petsc/src/binding/petsc4py/test/
H A Dtest_lgmap.py51 is_in = PETSc.IS().createStride(self.lgmap.getSize())
52 _ = self.lgmap.apply(is_in)
/petsc/include/
H A Dpetscis.h300 …Code ISCompressIndicesSorted(PetscInt n, PetscInt bs, PetscInt imax, const IS is_in[], IS is_out[]) in ISCompressIndicesSorted() argument
302 return ISCompressIndicesGeneral(n, bs, n, imax, is_in, is_out); in ISCompressIndicesSorted()