Home
last modified time | relevance | path

Searched refs:oi (Results 1 – 10 of 10) sorted by relevance

/petsc/src/mat/tests/
H A Dex110.c9 PetscInt *di, *dj, *oi, *oj, nd; in main() local
45 …PetscCall(MatGetRowIJ(AB, 0, PETSC_FALSE, PETSC_FALSE, &nd, (const PetscInt **)&oi, (const PetscIn… in main()
48 PetscCall(PetscMalloc1(oi[5], &ooj)); in main()
49 PetscCall(PetscArraycpy(ooj, oj, oi[5])); in main()
51 for (i = 0; i < oi[5]; i++) ooj[i] = garray[ooj[i]]; in main()
53 …plitArrays(PETSC_COMM_WORLD, 5, 5, PETSC_DETERMINE, PETSC_DETERMINE, di, dj, da, oi, ooj, oa, &B)); in main()
59 …PetscCall(MatRestoreRowIJ(AB, 0, PETSC_FALSE, PETSC_FALSE, &nd, (const PetscInt **)&oi, (const Pet… in main()
H A Dex302k.kokkos.cxx16 PetscInt *di, *dj, *oi, *oj, nd; in main() local
65 …PetscCall(MatGetRowIJ(AB, 0, PETSC_FALSE, PETSC_FALSE, &nd, (const PetscInt **)&oi, (const PetscIn… in main()
88 PetscCallCXX(a_nonlocal_d = Kokkos::View<PetscScalar *>("a_nonlocal_d", oi[5])); in main()
90 PetscCallCXX(j_nonlocal_d = Kokkos::View<PetscInt *>("j_nonlocal_d", oi[5])); in main()
106 PetscCallCXX(a_nonlocal_h = Kokkos::View<PetscScalar *, HostMirrorMemorySpace>(oa, oi[5])); in main()
107 PetscCallCXX(i_nonlocal_h = Kokkos::View<PetscInt *, HostMirrorMemorySpace>(oi, m + 1)); in main()
108 PetscCallCXX(j_nonlocal_h = Kokkos::View<PetscInt *, HostMirrorMemorySpace>(oj, oi[5])); in main()
145 …PetscCall(MatRestoreRowIJ(AB, 0, PETSC_FALSE, PETSC_FALSE, &nd, (const PetscInt **)&oi, (const Pet… in main()
/petsc/src/mat/graphops/color/impls/jp/
H A Djp.c36 PetscInt *di, *oi, *dj, *oj; in MCJPGreatestWeight_Private() local
52 oi = NULL; in MCJPGreatestWeight_Private()
62 oi = oaij->i; in MCJPGreatestWeight_Private()
109 ncols = oi[i + 1] - oi[i]; in MCJPGreatestWeight_Private()
110 cols = &(oj[oi[i]]); in MCJPGreatestWeight_Private()
144 PetscInt *oi; in MCJPInitialLocalColor_Private() local
156 oi = NULL; in MCJPInitialLocalColor_Private()
165 oi = oaij->i; in MCJPInitialLocalColor_Private()
185 if (oi[i] != oi[i + 1]) { in MCJPInitialLocalColor_Private()
202 if (oi[idx + 1] != oi[idx]) { in MCJPInitialLocalColor_Private()
[all …]
/petsc/src/dm/impls/plex/tutorials/
H A Dex11.c209 PetscInt No, o, oi, o2; in VerifyInverse() local
222 oi = DMPolytopeTypeComposeOrientationInv(ct, 0, o); in VerifyInverse()
226 PetscCall(DMPlexOrientPoint(dm1, 0, oi)); in VerifyInverse()
234 …B, "Inverse error for %s: %" PetscInt_FMT " * %" PetscInt_FMT " != 0", DMPolytopeTypes[ct], o, oi); in VerifyInverse()
239 if (user->printTable) PetscCall(PetscPrintf(PETSC_COMM_SELF, "%" PetscInt_FMT ", ", oi)); in VerifyInverse()
240 …: %" PetscInt_FMT " * %" PetscInt_FMT " = %" PetscInt_FMT " != 0", DMPolytopeTypes[ct], o, oi, o2); in VerifyInverse()
256 PetscInt Nct, n, oi, debug = 0; in CheckSubcells() local
274 oi = DMPolytopeTypeComposeOrientationInv(ct, 0, o); in CheckSubcells()
275 … (user->printTable) PetscCall(PetscPrintf(PETSC_COMM_SELF, "Orientation %" PetscInt_FMT "\n", oi)); in CheckSubcells()
339 PetscCall(DMPlexTransformGetSubcellOrientation(tr, ct, p, oi, ctNew, r, 0, &pr, &fo)); in CheckSubcells()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscmat.pxi843 cdef object oi, oj, ov
845 oi, oj, ov = CSR
847 oi, oj = CSR; ov = None
853 oi = iarray_i(oi, &ni, &i)
921 object oi, object oj, object ov, argument
933 oi = iarray_i(oi, &ni, &i)
947 object oi, object oj, object ov, argument
960 cdef ndarray ai = iarray_i(oi, &ni, &i)
1004 object oi, object oj, object ov, argument
1018 oi = iarray_i(oi, &ni, &i)
[all …]
H A Dpetscvec.pxi367 object oi, object ov, object oim, argument
378 cdef object unused1 = iarray_i(oi, &ni, &i)
H A DPC.pyx2128 cdef object oi, oj
2131 oi, oj = csr
2132 oi = iarray_i(oi, &ni, &i)
H A DMat.pyx1073 cdef PetscInt ni=0, noi=0, *i=NULL, *oi=NULL
1081 poi = iarray_i(poi, &noi, &oi) # Row pointers (off-diagonal)
1100 if oi != NULL and oj != NULL and ov != NULL:
1102 ccomm, m, n, M, N, i, j, v, oi, oj, ov, &newmat))
/petsc/src/mat/impls/is/
H A Dmatis.c637 const PetscInt *di, *dj, *oi, *oj; in MatConvert_XAIJ_IS() local
729 PetscCall(MatGetRowIJ(Ao, 0, PETSC_FALSE, PETSC_FALSE, &i, &oi, &oj, &flg)); in MatConvert_XAIJ_IS()
731 nnz = di[dr] + oi[dr]; in MatConvert_XAIJ_IS()
735 ooi = oi; in MatConvert_XAIJ_IS()
780 *ii = *(di++) + *(oi++); in MatConvert_XAIJ_IS()
786 for (; jo < *oi; jo++) { in MatConvert_XAIJ_IS()
790 *(++ii) = *(di++) + *(oi++); in MatConvert_XAIJ_IS()
/petsc/src/mat/impls/aij/mpi/
H A Dmpiaij.c6917 …scInt M, PetscInt N, PetscInt i[], PetscInt j[], PetscScalar a[], PetscInt oi[], PetscInt oj[], Pe… in MatCreateMPIAIJWithSplitArrays() argument
6924 …PetscCheck(oi[0] == 0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "oi (row indices) must start wit… in MatCreateMPIAIJWithSplitArrays()
6936 PetscCall(MatCreateSeqAIJWithArrays(PETSC_COMM_SELF, m, (*mat)->cmap->N, oi, oj, oa, &maij->B)); in MatCreateMPIAIJWithSplitArrays()
7017 const PetscInt *oi = idx; in MatSeqAIJCopySubArray() local
7020 for (j = 0; j < n; j++) *w++ = vv[*oi++]; in MatSeqAIJCopySubArray()