| /petsc/src/vec/vec/impls/seq/ftn-kernels/ |
| H A D | fmdot.F90 | 11 PetscScalar, intent(in) :: x(*), y1(*), y2(*), y3(*), y4(*) 20 PETSC_AssertAlignx(16, y4(1)) 26 sum4 = sum4 + x(i)*PetscConj(y4(i))
|
| /petsc/src/sys/classes/draw/interface/ |
| H A D | dtri.c | 222 PetscReal x1, x2, x3, x4, y_1, y2, y3, y4; in PetscDrawTensorContourPatch() local 239 y4 = y3; in PetscDrawTensorContourPatch() 243 PetscCall(PetscDrawTriangle(draw, x1, y_1, x3, y3, x4, y4, c1, c3, c4)); in PetscDrawTensorContourPatch()
|
| /petsc/src/snes/utils/dm/ |
| H A D | dminterpolatesnes.c | 639 const PetscScalar y4 = vertices[13]; in HexMap_Private() local 657 const PetscScalar g_4 = y4 - y0; in HexMap_Private() 663 const PetscScalar g_12 = y7 - y3 - y4 + y0; in HexMap_Private() 666 const PetscScalar g_02 = y5 - y1 - y4 + y0; in HexMap_Private() 669 const PetscScalar g_012 = y6 - y0 + y1 - y2 + y3 + y4 - y5 - y7; in HexMap_Private() 708 const PetscScalar y4 = vertices[13]; in HexJacobian_Private() local 723 const PetscScalar g_yz = y7 - y3 - y4 + y0; in HexJacobian_Private() 726 const PetscScalar g_xz = y5 - y1 - y4 + y0; in HexJacobian_Private() 729 const PetscScalar g_xyz = y6 - y0 + y1 - y2 + y3 + y4 - y5 - y7; in HexJacobian_Private() 747 values[5] = (y4 - y0 + g_yz * y + g_xz * x + g_xyz * x * y) / 2.0; in HexJacobian_Private()
|
| /petsc/src/dm/impls/da/ |
| H A D | gr2.c | 32 PetscReal min, max, x1, x2, x3, x4, y_1, y2, y3, y4; in VecView_MPI_Draw_DA2d_Zoom() local 66 y4 = PetscRealPart(xy[2 * id + 1]); in VecView_MPI_Draw_DA2d_Zoom() 70 PetscCall(PetscDrawTriangle(draw, x1, y_1, x3, y3, x4, y4, c1, c3, c4)); in VecView_MPI_Draw_DA2d_Zoom() 74 PetscCall(PetscDrawLine(draw, x3, y3, x4, y4, PETSC_DRAW_BLACK)); in VecView_MPI_Draw_DA2d_Zoom() 75 PetscCall(PetscDrawLine(draw, x4, y4, x1, y_1, PETSC_DRAW_BLACK)); in VecView_MPI_Draw_DA2d_Zoom()
|
| /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 402 PetscCall(VecGetKokkosView(yp[4], &y4)); in VecMultiDot_Verbose() 411 …lsum4 += xv(i) * PetscConj(y4(i)); lsum5 += xv(i) * PetscConj(y5(i)); lsum6 += xv(i) * PetscConj(y… in VecMultiDot_Verbose() 419 PetscCall(VecRestoreKokkosView(yp[4], &y4)); in VecMultiDot_Verbose() 432 if (rem > 4) PetscCall(VecGetKokkosView(yp[4], &y4)); in VecMultiDot_Verbose() 442 …lsum4 += xv(i) * PetscConj(y4(i)); lsum5 += xv(i) * PetscConj(y5(i)); lsum6 += xv(i) * PetscConj(y… in VecMultiDot_Verbose() 450 lsum4 += xv(i) * PetscConj(y4(i)); lsum5 += xv(i) * PetscConj(y5(i)); in VecMultiDot_Verbose() 458 lsum4 += xv(i) * PetscConj(y4(i)); in VecMultiDot_Verbose() 496 if (rem > 4) PetscCall(VecRestoreKokkosView(yp[4], &y4)); in VecMultiDot_Verbose()
|
| /petsc/src/tao/leastsquares/tutorials/matlab/more_wild_probs/ |
| H A D | dfovec.m | 53 y4 = [8.44d-1,9.08d-1,9.32d-1,9.36d-1,9.25d-1,9.08d-1,8.81d-1,8.5d-1,... variable 218 fvec(i) = y4(i) - (x(1) + x(2)*tmp1 + x(3)*tmp2);
|
| H A D | g_dfovec_1d.m | 43 …y4= [8.44d-1, 9.08d-1, 9.32d-1, 9.36d-1, 9.25d-1, 9.08d-1, 8.81d-1, 8.5d-1, 8.18d-1, 7.84d-1, 7.51… variable 602 fvec(i)= y4(i)- tmp_dfovec_1d_00080;
|