| /petsc/src/dm/impls/da/kokkos/ |
| H A D | dagetov.kokkos.cxx | 27 …ew_Private(DM da, Vec vec, PetscScalarKokkosOffsetView1DType<MemorySpace> *ov, PetscBool overwrite) in DMDAVecGetKokkosOffsetView_Private() argument 35 PetscAssertPointer(ov, 3); in DMDAVecGetKokkosOffsetView_Private() 41 *ov = PetscScalarKokkosOffsetView1DType<MemorySpace>(kv.data(), {gxs * dof}, {(gxs + gxm) * dof}); in DMDAVecGetKokkosOffsetView_Private() 46 …ew_Private(DM da, Vec vec, PetscScalarKokkosOffsetView1DType<MemorySpace> *ov, PetscBool overwrite) in DMDAVecRestoreKokkosOffsetView_Private() argument 53 PetscAssertPointer(ov, 3); in DMDAVecRestoreKokkosOffsetView_Private() 54 kv = ov->view(); /* OffsetView to View */ in DMDAVecRestoreKokkosOffsetView_Private() 61 …DMDAVecGetKokkosOffsetView(DM da, Vec vec, ConstPetscScalarKokkosOffsetView1DType<MemorySpace> *ov) in DMDAVecGetKokkosOffsetView() argument 69 PetscAssertPointer(ov, 3); in DMDAVecGetKokkosOffsetView() 73 …*ov = ConstPetscScalarKokkosOffsetView1DType<MemorySpace>(kv.data(), {gxs * dof}, {(gxs + gxm) * d… in DMDAVecGetKokkosOffsetView() 78 …VecRestoreKokkosOffsetView(DM da, Vec vec, ConstPetscScalarKokkosOffsetView1DType<MemorySpace> *ov) in DMDAVecRestoreKokkosOffsetView() argument [all …]
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_viewer_py.py | 86 ov = ctx.obj_viewed 87 self.assertTrue(len(ov) == 3) 88 self.assertTrue(ov[0] == 'Vec') 89 self.assertTrue(ov[1] == 'KSP') 90 self.assertTrue(ov[2] == 'DM')
|
| /petsc/src/mat/tests/ |
| H A D | ex41.c | 11 PetscInt nd = 2, ov = 1, i, j, m, n, *idx, lsize; in main() local 26 PetscCall(PetscOptionsGetInt(NULL, NULL, "-ov", &ov, NULL)); in main() 65 PetscCall(MatIncreaseOverlap(A, nd, is1, ov)); in main() 66 PetscCall(MatIncreaseOverlap(B, nd, is2, ov)); in main()
|
| H A D | ex42.c | 12 PetscInt nd = 2, ov = 1, i, j, lsize, m, n, *idx, bs; in main() local 29 PetscCall(PetscOptionsGetInt(NULL, NULL, "-ov", &ov, NULL)); in main() 87 PetscCall(MatIncreaseOverlap(A, nd, is1, ov)); in main() 88 PetscCall(MatIncreaseOverlap(B, nd, is2, ov)); in main()
|
| H A D | ex40.c | 37 PetscInt nd = 2, ov = 1, ndpar, i, start, m, n, end, lsize; in main() local 53 PetscCall(PetscOptionsGetInt(NULL, NULL, "-ov", &ov, NULL)); in main() 114 PetscCall(MatIncreaseOverlap(A, ndpar, is1, ov)); in main() 115 PetscCall(MatIncreaseOverlap(B, nd, is2, ov)); in main()
|
| H A D | ex54.c | 8 …PetscInt bs = 1, m = 11, ov = 1, i, j, k, *rows, *cols, nd = 5, *idx, rstart, rend, sz, mm, nn… in main() local 24 PetscCall(PetscOptionsGetInt(NULL, NULL, "-ov", &ov, NULL)); in main() 115 PetscCall(MatIncreaseOverlap(A, nd, is1, ov)); in main() 116 PetscCall(MatIncreaseOverlap(B, nd, is2, ov)); in main() 121 …" PetscInt_FMT " ov=%" PetscInt_FMT " nd=%" PetscInt_FMT " np=%d\n", i, flg, bs, m, ov, nd, size)); in main()
|
| H A D | ex51.c | 8 PetscInt bs = 1, m = 43, ov = 1, i, j, k, *rows, *cols, M, nd = 5, *idx, mm, nn, lsize; in main() local 20 PetscCall(PetscOptionsGetInt(NULL, NULL, "-ov", &ov, NULL)); in main() 91 PetscCall(MatIncreaseOverlap(A, nd, is1, ov)); in main() 92 PetscCall(MatIncreaseOverlap(B, nd, is2, ov)); in main()
|
| H A D | ex92.c | 11 …PetscInt bs = 1, mbs = 10, ov = 1, i, j, k, *rows, *cols, nd = 2, *idx, rstart, rend, sz, M, … in main() local 26 PetscCall(PetscOptionsGetInt(NULL, NULL, "-ov", &ov, NULL)); in main() 147 PetscCall(MatIncreaseOverlap(sA, nd, is2, ov)); in main() 151 PetscCall(MatIncreaseOverlap(A, nd, is1, ov)); in main()
|
| H A D | ex91.c | 8 PetscInt bs = 1, m = 43, ov = 1, i, j, k, *rows, *cols, M, nd = 5, *idx, mm, nn; in main() local 21 PetscCall(PetscOptionsGetInt(NULL, NULL, "-ov", &ov, NULL)); in main() 123 PetscCall(MatIncreaseOverlap(A, nd, is1, ov)); in main() 124 PetscCall(MatIncreaseOverlap(sA, nd, is2, ov)); in main()
|
| /petsc/src/mat/impls/h2opus/ |
| H A D | math2opussampler.hpp | 96 void PetscMatrixSampler::PermuteBuffersIn(int nv, H2Opus_Real *v, H2Opus_Real **w, H2Opus_Real *ov,… in PermuteBuffersIn() argument 99 *ow = ov; in PermuteBuffersIn()
|
| /petsc/src/mat/utils/ |
| H A D | overlapsplit.c | 14 PetscErrorCode MatIncreaseOverlapSplit_Single(Mat mat, IS *is, PetscInt ov) in MatIncreaseOverlapSplit_Single() argument 36 PetscUseTypeMethod(mat, increaseoverlap, 1, is, ov); in MatIncreaseOverlapSplit_Single()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscmat.pxi | 843 cdef object oi, oj, ov 845 oi, oj, ov = CSR 847 oi, oj = CSR; ov = None 855 if ov is not None: 856 ov = iarray_s(ov, &nv, &v) 921 object oi, object oj, object ov, argument 935 ov = iarray_s(ov, &nv, &v) 947 object oi, object oj, object ov, argument 962 cdef ndarray av = iarray_s(ov, &nv, &v) 1004 object oi, object oj, object ov, argument [all …]
|
| H A D | petscvec.pxi | 367 object oi, object ov, object oim, argument 379 cdef object unused2 = iarray_s(ov, &nv, &v)
|
| H A D | Mat.pyx | 1084 cdef PetscScalar *v=NULL, *ov=NULL 1090 pov = iarray_s(pov, &nov, &ov) # Non-zero values (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/ksp/pc/impls/hpddm/ |
| H A D | pchpddm.cxx | 2356 … IS ov[2], rows, cols, stride; /* [ A_10 A_11 A_12 ] */ in PCSetUp_HPDDM() local 2362 PetscCall(ISDuplicate(data->is, ov)); in PCSetUp_HPDDM() 2363 if (overlap > 1) PetscCall(MatIncreaseOverlap(P, 1, ov, overlap - 1)); in PCSetUp_HPDDM() 2364 PetscCall(ISDuplicate(ov[0], ov + 1)); in PCSetUp_HPDDM() 2365 PetscCall(MatIncreaseOverlap(P, 1, ov + 1, 1)); in PCSetUp_HPDDM() 2366 PetscCall(ISGetLocalSize(ov[0], n)); in PCSetUp_HPDDM() 2367 PetscCall(ISGetLocalSize(ov[1], n + 1)); in PCSetUp_HPDDM() 2371 PetscCall(ISDestroy(ov)); in PCSetUp_HPDDM() 2372 PetscCall(ISDestroy(ov + 1)); in PCSetUp_HPDDM() 2385 PetscCall(ISSort(ov[0])); in PCSetUp_HPDDM() [all …]
|
| /petsc/src/mat/impls/sbaij/mpi/ |
| H A D | sbaijov.c | 11 PetscErrorCode MatIncreaseOverlap_MPISBAIJ(Mat C, PetscInt is_max, IS is[], PetscInt ov) in MatIncreaseOverlap_MPISBAIJ() argument 27 PetscCheck(ov >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Negative overlap specified"); in MatIncreaseOverlap_MPISBAIJ() 34 for (i = 0; i < ov; ++i) PetscCall(MatIncreaseOverlap_MPISBAIJ_Once(C, is_max, is_new)); in MatIncreaseOverlap_MPISBAIJ() 67 for (iov = 0; iov < ov; ++iov) { in MatIncreaseOverlap_MPISBAIJ()
|
| /petsc/src/mat/impls/normal/ |
| H A D | normm.c | 9 static PetscErrorCode MatIncreaseOverlap_Normal(Mat A, PetscInt is_max, IS is[], PetscInt ov) in MatIncreaseOverlap_Normal() argument 15 …PetscCheck(ov >= 0, PetscObjectComm((PetscObject)A), PETSC_ERR_ARG_OUTOFRANGE, "Negative overlap s… in MatIncreaseOverlap_Normal() 21 PetscCall(MatIncreaseOverlap(pattern, is_max, is, ov)); in MatIncreaseOverlap_Normal()
|
| /petsc/src/mat/impls/baij/mpi/ |
| H A D | baijov.c | 11 PetscErrorCode MatIncreaseOverlap_MPIBAIJ(Mat C, PetscInt imax, IS is[], PetscInt ov) in MatIncreaseOverlap_MPIBAIJ() argument 21 PetscCheck(ov >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Negative overlap specified"); in MatIncreaseOverlap_MPIBAIJ() 22 for (i = 0; i < ov; ++i) PetscCall(MatIncreaseOverlap_MPIBAIJ_Once(C, imax, is_new)); in MatIncreaseOverlap_MPIBAIJ()
|
| /petsc/src/mat/impls/aij/mpi/ |
| H A D | mpiov.c | 66 PetscErrorCode MatIncreaseOverlap_MPIAIJ(Mat C, PetscInt imax, IS is[], PetscInt ov) in MatIncreaseOverlap_MPIAIJ() argument 71 …PetscCheck(ov >= 0, PetscObjectComm((PetscObject)C), PETSC_ERR_ARG_OUTOFRANGE, "Negative overlap s… in MatIncreaseOverlap_MPIAIJ() 72 for (i = 0; i < ov; ++i) PetscCall(MatIncreaseOverlap_MPIAIJ_Once(C, imax, is)); in MatIncreaseOverlap_MPIAIJ() 77 PetscErrorCode MatIncreaseOverlap_MPIAIJ_Scalable(Mat C, PetscInt imax, IS is[], PetscInt ov) in MatIncreaseOverlap_MPIAIJ_Scalable() argument 82 …PetscCheck(ov >= 0, PetscObjectComm((PetscObject)C), PETSC_ERR_ARG_OUTOFRANGE, "Negative overlap s… in MatIncreaseOverlap_MPIAIJ_Scalable() 83 for (i = 0; i < ov; ++i) PetscCall(MatIncreaseOverlap_MPIAIJ_Once_Scalable(C, imax, is)); in MatIncreaseOverlap_MPIAIJ_Scalable()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexinterpolate.c | 1189 PetscInt ov, Nr, r, Nl, l; in DMPlexInterpolatePointSF() local 1203 PetscCall(DMPlexGetOverlap(dm, &ov)); in DMPlexInterpolatePointSF() 1204 PetscCheck(!ov, comm, PETSC_ERR_SUP, "Interpolation of overlapped DMPlex not implemented yet"); in DMPlexInterpolatePointSF()
|
| H A D | plexsubmesh.c | 3136 PetscInt *indices, *origVertices, *orientedVertices, *orientedSubVertices, v, ov; in DMPlexInsertFace_Internal() local 3147 for (ov = 0; ov < numFaceVertices; ++ov) { in DMPlexInsertFace_Internal() 3148 if (orientedVertices[ov] == vertex) { in DMPlexInsertFace_Internal() 3149 orientedSubVertices[ov] = subvertex; in DMPlexInsertFace_Internal() 3153 …PetscCheck(ov != numFaceVertices, comm, PETSC_ERR_PLIB, "Could not find face vertex %" PetscInt_FM… in DMPlexInsertFace_Internal()
|
| /petsc/src/mat/impls/htool/ |
| H A D | htool.cxx | 116 static PetscErrorCode MatIncreaseOverlap_Htool(Mat A, PetscInt is_max, IS is[], PetscInt ov) in MatIncreaseOverlap_Htool() argument 135 …for (PetscInt k = 1; k <= ov; ++k) { /* for each laye… in MatIncreaseOverlap_Htool()
|
| /petsc/src/mat/impls/sbaij/seq/ |
| H A D | sbaij2.c | 8 PetscErrorCode MatIncreaseOverlap_SeqSBAIJ(Mat A, PetscInt is_max, IS is[], PetscInt ov) in MatIncreaseOverlap_SeqSBAIJ() argument 16 PetscCheck(ov >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Negative overlap specified"); in MatIncreaseOverlap_SeqSBAIJ() 47 for (j = 0; j < ov; j++) { /* for each overlap */ in MatIncreaseOverlap_SeqSBAIJ()
|
| /petsc/src/mat/interface/ |
| H A D | matrix.c | 7500 PetscErrorCode MatIncreaseOverlap(Mat mat, PetscInt n, IS is[], PetscInt ov) in MatIncreaseOverlap() argument 7517 if (!ov || !n) PetscFunctionReturn(PETSC_SUCCESS); in MatIncreaseOverlap() 7519 PetscUseTypeMethod(mat, increaseoverlap, n, is, ov); in MatIncreaseOverlap() 7550 PetscErrorCode MatIncreaseOverlapSplit(Mat mat, PetscInt n, IS is[], PetscInt ov) in MatIncreaseOverlapSplit() argument 7565 if (!ov) PetscFunctionReturn(PETSC_SUCCESS); in MatIncreaseOverlapSplit() 7567 for (i = 0; i < n; i++) PetscCall(MatIncreaseOverlapSplit_Single(mat, &is[i], ov)); in MatIncreaseOverlapSplit()
|
| /petsc/src/mat/impls/aij/seq/ |
| H A D | aij.c | 2734 static PetscErrorCode MatIncreaseOverlap_SeqAIJ(Mat A, PetscInt is_max, IS is[], PetscInt ov) in MatIncreaseOverlap_SeqAIJ() argument 2747 …PetscCheck(ov >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "illegal negative overlap value use… in MatIncreaseOverlap_SeqAIJ() 2770 for (j = 0; j < ov; j++) { /* for each overlap */ in MatIncreaseOverlap_SeqAIJ() 2794 for (j = 0; j < ov; j++) { /* for each overlap */ in MatIncreaseOverlap_SeqAIJ()
|