Home
last modified time | relevance | path

Searched refs:ov (Results 1 – 25 of 28) sorted by relevance

12

/petsc/src/dm/impls/da/kokkos/
H A Ddagetov.kokkos.cxx27 …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 Dtest_viewer_py.py86 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 Dex41.c11 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 Dex42.c12 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 Dex40.c37 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 Dex54.c8 …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 Dex51.c8 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 Dex92.c11 …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 Dex91.c8 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 Dmath2opussampler.hpp96 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 Doverlapsplit.c14 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 Dpetscmat.pxi843 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 Dpetscvec.pxi367 object oi, object ov, object oim, argument
379 cdef object unused2 = iarray_s(ov, &nv, &v)
H A DMat.pyx1084 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 Dpchpddm.cxx2356 … 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 Dsbaijov.c11 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 Dnormm.c9 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 Dbaijov.c11 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 Dmpiov.c66 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 Dplexinterpolate.c1189 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 Dplexsubmesh.c3136 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 Dhtool.cxx116 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 Dsbaij2.c8 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 Dmatrix.c7500 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 Daij.c2734 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()

12