| /petsc/src/mat/tutorials/ |
| H A D | ex2.c | 44 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, size, x, &X)); in main() 49 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, size, y, &Y)); in main() 54 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, size, z, &Z)); in main() 93 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, size1, x, &X1)); in main() 94 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, size2, x + size1, &X2)); in main() 95 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, size1, z, &Z1)); in main() 96 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, size2, z + size1, &Z2)); in main()
|
| /petsc/src/vec/vec/tests/ |
| H A D | ex60.c | 44 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, bs, n, NULL, &x1)); in main() 45 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, bs, n, NULL, &x2)); in main() 46 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, bs, n, NULL, &x3)); in main()
|
| H A D | ex40.c | 21 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, n, array + 1, &x)); in main()
|
| H A D | ex59.cxx | 29 PetscCall(VecCreateSeqWithArray(PETSC_COMM_WORLD, 1, n, xHost, &y)); in main()
|
| H A D | ex62.c | 23 if (size == 1) PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, n, array, &x)); in main()
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex61.c | 46 PetscCall(VecCreateSeqWithArray(MPI_COMM_SELF, 1, size, x, &X)); in main() 51 PetscCall(VecCreateSeqWithArray(MPI_COMM_SELF, 1, size, y, &Y)); in main() 56 PetscCall(VecCreateSeqWithArray(MPI_COMM_SELF, 1, size, z, &Z)); in main()
|
| /petsc/src/dm/impls/da/ |
| H A D | dagtona.c | 47 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, dd->w, N, NULL, &tmplocal)); in DMDAGlobalToNaturalAllCreate() 93 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, dd->w, M, NULL, &tmplocal)); in DMDANaturalAllToGlobalCreate()
|
| /petsc/src/ksp/pc/impls/tfs/ |
| H A D | tfs.c | 99 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, a->A->rmap->n, NULL, &tfs->b)); in PCSetUp_TFS() 100 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, a->A->cmap->n, NULL, &tfs->xd)); in PCSetUp_TFS() 101 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, a->B->cmap->n, NULL, &tfs->xo)); in PCSetUp_TFS()
|
| /petsc/src/mat/tests/ |
| H A D | ex88.c | 92 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, 2, multadd, &diff)); in TestMatrix() 113 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, 2, multtadd, &diff)); in TestMatrix() 135 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, 2, multtadd, &diff)); in TestMatrix() 161 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, 2, diag, &diff)); in TestMatrix()
|
| H A D | ex163.c | 96 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, m, NULL, &x)); in main() 97 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, n, NULL, &y)); in main()
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex83f.F90 | 87 PetscCallA(VecCreateSeqWithArray(PETSC_COMM_SELF, one, n, b, rhs, ierr)) 88 PetscCallA(VecCreateSeqWithArray(PETSC_COMM_SELF, one, n, x, solution, ierr))
|
| H A D | ex61f.F90 | 120 …PetscCallA(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, nrow, PETSC_NULL_SCALAR_ARRAY, col_f_vecb, ie…
|
| H A D | ex13.c | 154 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, N, NULL, &userctx->b)); in UserInitializeLinearSolver()
|
| H A D | ex13f90.F90 | 50 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, one, Ntot, PETSC_NULL_SCALAR_ARRAY, b, ierr))
|
| /petsc/src/vec/vec/utils/ |
| H A D | vecs.c | 24 PetscCall(VecCreateSeqWithArray(comm, 1, p * m, a, &(*x)->v)); in VecsCreateSeqWithArray()
|
| /petsc/src/ts/impls/implicit/radau5/ |
| H A D | radau5.c | 85 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, ND, NULL, &cvode->work)); in TSSolve_Radau5() 86 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, ND, NULL, &cvode->workf)); in TSSolve_Radau5()
|
| /petsc/src/mat/impls/sbaij/mpi/ |
| H A D | mmsbaij.c | 156 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, bs * mbs, ptr, &sbaij->slvec1a)); in MatSetUpMultiply_MPISBAIJ() 157 …PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, nt - bs * mbs, PetscSafePointerPlusOffset(ptr,… in MatSetUpMultiply_MPISBAIJ() 161 …PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, nt - bs * mbs, PetscSafePointerPlusOffset(ptr,… in MatSetUpMultiply_MPISBAIJ()
|
| /petsc/src/mat/impls/aij/mpi/crl/ |
| H A D | mcrl.c | 79 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, a->B->cmap->n, array + nd, &aijcrl->fwork)); in MatMPIAIJCRL_create_aijcrl()
|
| /petsc/src/vec/vec/impls/mpi/ |
| H A D | pbvec.c | 39 …PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, win->map->bs, win->map->n + w->nghost, arr, &vw->… in VecDuplicateWithArray_MPI() 773 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, n + nghost, larray, &w->localrep)); in VecCreateGhostWithArray() 901 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, n + nghost, larray, &w->localrep)); in VecMPISetGhost() 977 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, bs, n + bs * nghost, larray, &w->localrep)); in VecCreateGhostBlockWithArray()
|
| /petsc/src/ksp/pc/impls/wb/ |
| H A D | wb.c | 198 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, Nint, NULL, &x)); in DMDAGetWireBasketInterpolation() 200 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, Nint, NULL, &b)); in DMDAGetWireBasketInterpolation() 520 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, Nint, NULL, &x)); in DMDAGetFaceInterpolation() 522 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, Nint, NULL, &b)); in DMDAGetFaceInterpolation()
|
| /petsc/src/dm/dt/tests/ |
| H A D | ex4.c | 88 … PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, dim, numDofs[depth] * dim, valsCopy, &vec)); in CheckSymmetry()
|
| /petsc/src/dm/impls/stag/ |
| H A D | stag1d.c | 423 …PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, PetscMax(stag->entriesPerElement, 1), stag->entri… in DMSetUp_Stag_1d() 492 …PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, PetscMax(stag->entriesPerElement, 1), stag->entri… in DMStagPopulateLocalToGlobalInjective_1d()
|
| /petsc/src/vec/vec/impls/mpi/mpiviennacl/ |
| H A D | mpiviennacl.cxx | 126 …PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, win->map->n + w->nghost, array, &vw->localrep)… in VecDuplicate_MPIViennaCL()
|
| /petsc/src/ksp/pc/impls/bddc/ |
| H A D | bddcscalingbasic.c | 488 …PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, subset_size, deluxe_ctx->workspace, &deluxe_ct… in PCBDDCScalingSetUp_Deluxe_Private() 489 …PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, subset_size, deluxe_ctx->workspace + subset_si… in PCBDDCScalingSetUp_Deluxe_Private()
|
| /petsc/src/vec/vec/impls/mpi/cupm/ |
| H A D | vecmpicupm_impl.hpp | 135 …PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, v->map->bs, v->map->n + nghost, array, &ylocrep)); in Duplicate()
|