Home
last modified time | relevance | path

Searched refs:MatCreateVecs (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/petsc/src/mat/utils/
H A Dmultequal.c38 PetscCall(MatCreateVecs(A, &s1, &Ax)); in MatMultEqual_Private()
39 PetscCall(MatCreateVecs(B, &s2, &Bx)); in MatMultEqual_Private()
41 PetscCall(MatCreateVecs(A, &Ax, &s1)); in MatMultEqual_Private()
42 PetscCall(MatCreateVecs(B, &Bx, &s2)); in MatMultEqual_Private()
159 PetscCall(MatCreateVecs(B, &s1, &Bx)); in MatMatMultEqual_Private()
161 PetscCall(MatCreateVecs(B, &Bx, &s1)); in MatMatMultEqual_Private()
164 PetscCall(MatCreateVecs(A, &s2, &Ax)); in MatMatMultEqual_Private()
166 PetscCall(MatCreateVecs(A, &Ax, &s2)); in MatMatMultEqual_Private()
168 PetscCall(MatCreateVecs(C, &Cx, &s3)); in MatMatMultEqual_Private()
457 PetscCall(MatCreateVecs(A, &Bx, &v2)); in MatProjMultEqual_Private()
[all …]
H A Disltog.c33 if (cols) PetscCall(MatCreateVecs(A, &v, NULL)); in MatCreateFromISLocalToGlobalMapping()
34 else PetscCall(MatCreateVecs(A, NULL, &v)); in MatCreateFromISLocalToGlobalMapping()
/petsc/src/ksp/ksp/utils/lmvm/tests/
H A Dlmvm_copy_test.c45 PetscCall(MatCreateVecs(A, &x, &y_A)); in testMatEqual()
46 PetscCall(MatCreateVecs(B, NULL, &y_B)); in testMatEqual()
80 PetscCall(MatCreateVecs(A, &x_, &y_)); in testUnchangedBegin()
81 PetscCall(MatCreateVecs(A, NULL, &z_)); in testUnchangedBegin()
103 PetscCall(MatCreateVecs(A, NULL, &y2_)); in testUnchangedEnd()
104 PetscCall(MatCreateVecs(A, NULL, &z2_)); in testUnchangedEnd()
/petsc/src/ts/tutorials/optimal_control/
H A Dex1.c290 PetscCall(MatCreateVecs(aircraft.A, &aircraft.U, NULL)); in main()
311 PetscCall(MatCreateVecs(aircraft.A, &aircraft.Lambda[0], NULL)); in main()
312 PetscCall(MatCreateVecs(aircraft.Jacp, &aircraft.Mup[0], NULL)); in main()
314 PetscCall(MatCreateVecs(aircraft.A, &aircraft.rhshp1[0], NULL)); in main()
315 PetscCall(MatCreateVecs(aircraft.A, &aircraft.rhshp2[0], NULL)); in main()
316 PetscCall(MatCreateVecs(aircraft.Jacp, &aircraft.rhshp3[0], NULL)); in main()
317 PetscCall(MatCreateVecs(aircraft.Jacp, &aircraft.rhshp4[0], NULL)); in main()
318 PetscCall(MatCreateVecs(aircraft.DRDU, &aircraft.inthp1[0], NULL)); in main()
319 PetscCall(MatCreateVecs(aircraft.DRDU, &aircraft.inthp2[0], NULL)); in main()
320 PetscCall(MatCreateVecs(aircraft.DRDP, &aircraft.inthp3[0], NULL)); in main()
[all …]
/petsc/src/ts/tutorials/autodiff/
H A Dex16adj.cxx211 PetscCall(MatCreateVecs(A, &x, NULL)); in main()
274 PetscCall(MatCreateVecs(A, &lambda[0], NULL)); in main()
275 PetscCall(MatCreateVecs(A, &lambda[1], NULL)); in main()
286 PetscCall(MatCreateVecs(Jacp, &mu[0], NULL)); in main()
287 PetscCall(MatCreateVecs(Jacp, &mu[1], NULL)); in main()
H A Dex16adj_tl.cxx231 PetscCall(MatCreateVecs(A, &x, NULL)); in main()
284 PetscCall(MatCreateVecs(A, &lambda[0], NULL)); in main()
285 PetscCall(MatCreateVecs(A, &lambda[1], NULL)); in main()
296 PetscCall(MatCreateVecs(Jacp, &mu[0], NULL)); in main()
297 PetscCall(MatCreateVecs(Jacp, &mu[1], NULL)); in main()
/petsc/src/mat/tests/
H A Dex46.c30 PetscCall(MatCreateVecs(A, &x[1], &x[0])); in main()
32 PetscCall(MatCreateVecs(A, &x[3], &x[2])); in main()
H A Dex153.c39 PetscCall(MatCreateVecs(A, &x, &y)); in main()
40 PetscCall(MatCreateVecs(A, &z, NULL)); in main()
H A Dex149.c44 PetscCall(MatCreateVecs(A, &x, &y)); in main()
45 PetscCall(MatCreateVecs(A, &z, NULL)); in main()
H A Dex150.c47 PetscCall(MatCreateVecs(A, &x, &y)); in main()
48 PetscCall(MatCreateVecs(A, &z, NULL)); in main()
H A Dex5k.kokkos.cxx80 PetscCall(MatCreateVecs(A2, &x2, &y2)); in main()
90 PetscCall(MatCreateVecs(A, &x, &y)); in main()
H A Dex202.c27 PetscCall(MatCreateVecs(A, &x, NULL)); in TestInitialMatrix()
28 PetscCall(MatCreateVecs(A, NULL, &y)); in TestInitialMatrix()
75 PetscCall(MatCreateVecs(A, NULL, &Ax)); in TestInitialMatrix()
H A Dex204.c174 PetscCall(MatCreateVecs(A, &v, &r)); in main()
182 PetscCall(MatCreateVecs(A_vcl, &v_vcl, &r_vcl)); in main()
226 PetscCall(MatCreateVecs(A, &v, &r)); in main()
234 PetscCall(MatCreateVecs(A, &v_vcl, &r_vcl)); in main()
H A Dex235.c30 PetscCall(MatCreateVecs(A, &ll, &rr)); in shiftandscale()
31 PetscCall(MatCreateVecs(A, &d, NULL)); in shiftandscale()
H A Dex112.c53 PetscCall(MatCreateVecs(A, &x, &y)); in main()
54 PetscCall(MatCreateVecs(A, &z, NULL)); in main()
/petsc/src/dm/impls/stag/tests/
H A Dex20.c32 PetscCall(MatCreateVecs(Ai, &vc, &vf)); in main()
49 PetscCall(MatCreateVecs(Ar, &vf, &vc)); in main()
/petsc/src/ts/tutorials/hybrid/
H A Dex1adj.c236 PetscCall(MatCreateVecs(A, &U, NULL)); in main()
290 PetscCall(MatCreateVecs(A, &lambda[0], NULL)); in main()
291 PetscCall(MatCreateVecs(A, &lambda[1], NULL)); in main()
302 PetscCall(MatCreateVecs(Ap, &mu[0], NULL)); in main()
303 PetscCall(MatCreateVecs(Ap, &mu[1], NULL)); in main()
/petsc/src/ksp/ksp/tutorials/
H A Dex60.c153 PetscCall(MatCreateVecs(A, &x, NULL)); in main()
155 PetscCall(MatCreateVecs(A, &b, NULL)); in main()
157 PetscCall(MatCreateVecs(A, &u, NULL)); in main()
/petsc/src/ts/tutorials/
H A Dex20opt_p.c404 PetscCall(MatCreateVecs(user.A, &user.U, NULL)); in main()
405 PetscCall(MatCreateVecs(user.A, &user.Lambda[0], NULL)); in main()
406 PetscCall(MatCreateVecs(user.A, &user.Lambda2[0], NULL)); in main()
407 PetscCall(MatCreateVecs(user.A, &user.Ihp1[0], NULL)); in main()
408 PetscCall(MatCreateVecs(user.A, &user.Ihp2[0], NULL)); in main()
414 PetscCall(MatCreateVecs(user.Jacp, &user.Dir, NULL)); in main()
415 PetscCall(MatCreateVecs(user.Jacp, &user.Mup[0], NULL)); in main()
416 PetscCall(MatCreateVecs(user.Jacp, &user.Mup2[0], NULL)); in main()
417 PetscCall(MatCreateVecs(user.Jacp, &user.Ihp3[0], NULL)); in main()
418 PetscCall(MatCreateVecs(user.Jacp, &user.Ihp4[0], NULL)); in main()
[all …]
H A Dex44.c161 PetscCall(MatCreateVecs(J, NULL, &F)); in main()
168 PetscCall(MatCreateVecs(J, &U, NULL)); in main()
169 PetscCall(MatCreateVecs(J, &V, NULL)); in main()
/petsc/src/mat/impls/h2opus/cuda/
H A Dmath2opusutils.cu145 PetscCall(MatCreateVecs(A, &x, &y)); in MatApproximateNorm_Private()
146 PetscCall(MatCreateVecs(A, &z, &w)); in MatApproximateNorm_Private()
183 PetscCall(MatCreateVecs(A, &x, &y)); in MatApproximateNorm_Private()
184 PetscCall(MatCreateVecs(A, &z, NULL)); in MatApproximateNorm_Private()
/petsc/src/tao/unconstrained/impls/lmvm/tests/
H A Dex1.c45 PetscCall(MatCreateVecs(ctx.A, &sol, NULL)); in main()
48 PetscCall(MatCreateVecs(ctx.A, &sol, &ctx.b)); in main()
/petsc/src/ksp/pc/tutorials/
H A Dex4.c101 PetscCall(MatCreateVecs(ctx->aD, &aDVec, NULL)); in SmwSetup()
135 PetscCall(MatCreateVecs(ctx->UT, &vel0, &pressure0)); in SmwApply()
240 PetscCall(MatCreateVecs(Q, &Qdiag, NULL)); in main()
270 PetscCall(MatCreateVecs(AplusJ, &x, &b)); in main()
285 PetscCall(MatCreateVecs(D, &DVec, NULL)); in main()
/petsc/src/mat/tests/output/
H A Dex201f_2.out17 Called MatCreateVecs
H A Dex201f_1.out17 Called MatCreateVecs

12345678910>>...12