| /petsc/src/vec/vec/impls/seq/ftn-kernels/ |
| H A D | fmdot.F90 | 11 PetscScalar, intent(in) :: x(*), y1(*), y2(*), y3(*), y4(*) 17 PETSC_AssertAlignx(16, y1(1)) 23 sum1 = sum1 + x(i)*PetscConj(y1(i)) 34 PetscScalar, intent(in) :: x(*), y1(*), y2(*), y3(*) 40 PETSC_AssertAlignx(16, y1(1)) 45 sum1 = sum1 + x(i)*PetscConj(y1(i)) 55 PetscScalar, intent(in) :: x(*), y1(*), y2(*) 61 PETSC_AssertAlignx(16, y1(1)) 65 sum1 = sum1 + x(i)*PetscConj(y1(i)) 74 PetscScalar, intent(in) :: x(*), y1(*) [all …]
|
| H A D | fmaxpy.F90 | 13 PetscScalar, intent(in) :: y0(*), y1(*), y2(*), y3(*) 18 PETSC_AssertAlignx(16, y1(1)) 22 x(1:n) = x(1:n) + (a0*y0(1:n) + a1*y1(1:n) + a2*y2(1:n) + a3*y3(1:n)) 30 PetscScalar, intent(in) :: y0(*), y1(*), y2(*) 35 PETSC_AssertAlignx(16, y1(1)) 38 x(1:n) = x(1:n) + (a0*y0(1:n) + a1*y1(1:n) + a2*y2(1:n)) 46 PetscScalar, intent(in) :: y0(*), y1(*) 51 PETSC_AssertAlignx(16, y1(1)) 53 x(1:n) = x(1:n) + (a0*y0(1:n) + a1*y1(1:n))
|
| /petsc/src/vec/is/sf/tests/ |
| H A D | ex6.c | 10 Vec x, y1, y2; in main() local 26 PetscCall(VecDuplicate(x, &y1)); in main() 42 PetscCall(VecScatterCreate(x, ix, y1, ix, &vscat1)); in main() 45 PetscCall(VecScatterBegin(vscat1, x, y1, INSERT_VALUES, SCATTER_FORWARD)); in main() 47 PetscCall(VecScatterEnd(vscat1, x, y1, INSERT_VALUES, SCATTER_FORWARD)); in main() 60 PetscCall(VecGetArrayRead(y1, &dat)); in main() 62 PetscCall(VecRestoreArrayRead(y1, &dat)); in main() 74 PetscCall(VecDestroy(&y1)); in main()
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | pyr_tet.geo | 2 y0 = 0; y1 = 1; 22 Point(3) = {x0, y1, z0}; 23 Point(4) = {x1, y1, z0}; 26 Point(7) = {x0, y1, z1}; 27 Point(8) = {x1, y1, z1};
|
| H A D | gmsh-3d.geo | 6 y0 = 0; y1 = 1; 26 Point(3) = {x0, y1, z0}; 27 Point(4) = {x1, y1, z0}; 30 Point(7) = {x0, y1, z1}; 31 Point(8) = {x1, y1, z1};
|
| H A D | gmsh-hex.geo | 2 y0 = 0; y1 = 1; 22 Point(3) = {x0, y1, z0}; 23 Point(4) = {x1, y1, z0}; 26 Point(7) = {x0, y1, z1}; 27 Point(8) = {x1, y1, z1};
|
| /petsc/src/mat/tests/ |
| H A D | ex121.c | 22 Vec w, x, y1, y2, z1, z2; in main() local 53 PetscCall(VecDuplicate(x, &y1)); in main() 54 PetscCall(PetscObjectSetName((PetscObject)y1, "Frequency space vector")); in main() 88 PetscCall(MatMult(A, x, y1)); in main() 90 PetscCall(VecPointwiseMult(y1, y1, y2)); in main() 91 if (view && i == 0) PetscCall(VecView(y1, PETSC_VIEWER_DRAW_WORLD)); in main() 92 PetscCall(MatMultTranspose(A, y1, z1)); in main() 124 PetscCall(VecDestroy(&y1)); in main()
|
| H A D | ex228.c | 17 Vec x1, y1, z1; /* Duplicate vectors */ in main() local 54 PetscCall(VecDuplicate(y, &y1)); in main() 66 PetscCall(MatMult(A, x1, y1)); in main() 67 PetscCall(MatMultTranspose(A, y1, z1)); in main() 78 PetscCall(VecDestroy(&y1)); in main()
|
| /petsc/src/dm/tests/ |
| H A D | ex2k.kokkos.cxx | 32 …1(DM da, const PetscScalar ***__restrict__ x1, PetscScalar ***__restrict__ y1, PetscInt nwarm, Pet… in Update1() argument 45 …for (i = xs; i < xs + xm; i++) y1[k][j][i] = 6 * x1[k][j][i] - x1[k - 1][j][i] - x1[k][j - 1][i] -… in Update1() 91 PetscScalar ***y1; /* arrays of g, ll */ in main() local 120 PetscCall(DMDAVecGetArray(da, y, &y1)); in main() 121 PetscCall(Update1(da, x1, y1, nwarm, nloop, &avgTime)); in main() 123 PetscCall(DMDAVecRestoreArray(da, y, &y1)); in main()
|
| /petsc/src/vec/vec/tests/output/ |
| H A D | ex37_2.out | 47 (1) y1 = 64 (2) y1 =
|
| H A D | ex37_5.out | 63 (1) y1 = 82 (2) y1 =
|
| H A D | ex37_4.out | 63 (1) y1 = 82 (2) y1 =
|
| H A D | ex37_1.out | 63 (1) y1 = 80 (2) y1 =
|
| H A D | ex37_3.out | 71 (1) y1 = 92 (2) y1 =
|
| /petsc/src/vec/vec/tests/ |
| H A D | ex37.c | 275 Vec x1, y1, x2, y2; in test_axpy_dot_max() local 288 PetscCall(gen_test_vector(PETSC_COMM_WORLD, 4, 4, 3, &y1)); in test_axpy_dot_max() 299 tmp_buf[0] = y1; in test_axpy_dot_max() 304 PetscCall(VecDestroy(&y1)); in test_axpy_dot_max() 309 PetscCall(VecNestGetSubVec(Y, 0, &y1)); in test_axpy_dot_max() 312 PetscCall(VecView(y1, PETSC_VIEWER_STDOUT_WORLD)); in test_axpy_dot_max() 323 PetscCall(VecNestGetSubVec(Y, 0, &y1)); in test_axpy_dot_max() 326 PetscCall(VecView(y1, PETSC_VIEWER_STDOUT_WORLD)); in test_axpy_dot_max()
|
| /petsc/share/petsc/saws/js/ |
| H A D | boxTree.js | 302 function getCurve(x1,y1,x2,y2,direction) { argument 311 control1.y = y1; 317 …ret = "<path d=\"M " + x1 + "," + y1 + " " + "C" + control1.x + "," + control1.y + " " + control2.… 321 var mid_y = (y1+y2)/2.0; 331 …ret = "<path d=\"M " + x1 + "," + y1 + " " + "C" + control1.x + "," + control1.y + " " + control2.…
|
| /petsc/src/vec/is/sf/tests/output/ |
| H A D | ex6_1.out | 3 On rank 0 of PETSC_COMM_WORLD, y1 = 0 1 2 3 4
|
| /petsc/src/snes/utils/dm/ |
| H A D | dminterpolatesnes.c | 459 const PetscScalar y1 = vertices[3]; in QuadMap_Private() local 465 const PetscScalar g_1 = y1 - y0; in QuadMap_Private() 469 const PetscScalar g_01 = y2 - y1 - y3 + y0; in QuadMap_Private() 496 const PetscScalar y1 = vertices[3]; in QuadJacobian_Private() local 502 const PetscScalar g_01 = y2 - y1 - y3 + y0; in QuadJacobian_Private() 515 values[2] = (y1 - y0 + g_01 * y) * 0.5; in QuadJacobian_Private() 630 const PetscScalar y1 = vertices[10]; in HexMap_Private() local 651 const PetscScalar g_1 = y1 - y0; in HexMap_Private() 660 const PetscScalar g_01 = y2 - y1 - y3 + y0; in HexMap_Private() 666 const PetscScalar g_02 = y5 - y1 - y4 + y0; in HexMap_Private() [all …]
|
| /petsc/src/snes/tutorials/ |
| H A D | ex70.c | 185 Vec y0, y1; in StokesExactSolution() local 205 PetscCall(VecGetSubVector(s->y, s->isg[1], &y1)); in StokesExactSolution() 206 PetscCall(VecGetOwnershipRange(y1, &start, &end)); in StokesExactSolution() 210 PetscCall(VecSetValue(y1, row, val, INSERT_VALUES)); in StokesExactSolution() 212 PetscCall(VecAssemblyBegin(y1)); in StokesExactSolution() 213 PetscCall(VecAssemblyEnd(y1)); in StokesExactSolution() 214 PetscCall(VecRestoreSubVector(s->y, s->isg[1], &y1)); in StokesExactSolution() 686 Vec y0, y1; in StokesCalcError() local 699 PetscCall(VecGetSubVector(s->y, s->isg[1], &y1)); in StokesCalcError() 700 PetscCall(VecNorm(y1, NORM_2, &val)); in StokesCalcError() [all …]
|
| /petsc/lib/petsc/conf/ |
| H A D | rules_util.mk | 270 y1=`curl --connect-timeout 5 --head --silent $${url} | head -n 1`; \ 271 y2=`echo $${y1} | grep ' 4[0-9]* '`; \ 272 y3=`echo $${y1} | grep ' 301 '`; \ 273 if [[ "$${y1}D" == "D" ]] ; then \ 276 msg=$${y1} ; \
|
| /petsc/src/ksp/pc/impls/vpbjacobi/kokkos/ |
| H A D | vpbjacobi_kok.kokkos.cxx | 99 const auto &y1 = PetscScalarKokkosView(ybuf, n); in PCApplyOrTranspose_VPBJacobi_Kokkos() 101 …TeamMemberType, KokkosBlas::Trans::Transpose>::invoke(team, 1., B, x1, 0., y1); // y1 = 0.0 * y1 +… in PCApplyOrTranspose_VPBJacobi_Kokkos() 103 …amMemberType, KokkosBlas::Trans::NoTranspose>::invoke(team, 1., B, x1, 0., y1); // y1 = 0.0 * y1 +… in PCApplyOrTranspose_VPBJacobi_Kokkos()
|
| /petsc/src/snes/tutorials/network/power/ |
| H A D | case9.m | 59 % 1 startup shutdown n x1 y1 ... xn yn
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_tao_py.py | 90 y1 = x.duplicate() 131 self.assertTrue(y1.equal(y2))
|
| /petsc/src/sys/classes/draw/impls/tikz/ |
| H A D | tikz.c | 106 static PetscErrorCode PetscDrawTriangle_TikZ(PetscDraw draw, PetscReal x1, PetscReal y1, PetscReal … in PetscDrawTriangle_TikZ() argument 112 … -- (%g,%g) -- cycle;\n", TikZColorMap(c1), XTRANS(draw, x1), YTRANS(draw, y1), XTRANS(draw, x2), … in PetscDrawTriangle_TikZ()
|
| /petsc/src/vec/vec/impls/seq/kokkos/ |
| H A D | veckok.kokkos.cxx | 389 ConstPetscScalarKokkosView xv, y0, y1, y2, y3, y4, y5, y6, y7; in VecMultiDot_Verbose() local 399 PetscCall(VecGetKokkosView(yp[1], &y1)); in VecMultiDot_Verbose() 410 …lsum0 += xv(i) * PetscConj(y0(i)); lsum1 += xv(i) * PetscConj(y1(i)); lsum2 += xv(i) * PetscConj(y… in VecMultiDot_Verbose() 416 PetscCall(VecRestoreKokkosView(yp[1], &y1)); in VecMultiDot_Verbose() 429 if (rem > 1) PetscCall(VecGetKokkosView(yp[1], &y1)); in VecMultiDot_Verbose() 441 …lsum0 += xv(i) * PetscConj(y0(i)); lsum1 += xv(i) * PetscConj(y1(i)); lsum2 += xv(i) * PetscConj(y… in VecMultiDot_Verbose() 449 …lsum0 += xv(i) * PetscConj(y0(i)); lsum1 += xv(i) * PetscConj(y1(i)); lsum2 += xv(i) * PetscConj(y… in VecMultiDot_Verbose() 457 …lsum0 += xv(i) * PetscConj(y0(i)); lsum1 += xv(i) * PetscConj(y1(i)); lsum2 += xv(i) * PetscConj(y… in VecMultiDot_Verbose() 465 …lsum0 += xv(i) * PetscConj(y0(i)); lsum1 += xv(i) * PetscConj(y1(i)); lsum2 += xv(i) * PetscConj(y… in VecMultiDot_Verbose() 472 …lsum0 += xv(i) * PetscConj(y0(i)); lsum1 += xv(i) * PetscConj(y1(i)); lsum2 += xv(i) * PetscConj(y… in VecMultiDot_Verbose() [all …]
|