Home
last modified time | relevance | path

Searched refs:z2 (Results 1 – 10 of 10) sorted by relevance

/petsc/src/mat/tests/
H A Dex121.c22 Vec w, x, y1, y2, z1, z2; in main() local
59 PetscCall(VecDuplicate(x, &z2)); in main()
60 PetscCall(PetscObjectSetName((PetscObject)z2, "Real space convolution")); in main()
97 PetscCall(VecGetArray(z2, &a3)); in main()
111 PetscCall(VecRestoreArray(z2, &a3)); in main()
117 if (view) PetscCall(VecView(z2, PETSC_VIEWER_DRAW_WORLD)); in main()
118 PetscCall(VecAXPY(z1, -1.0, z2)); in main()
127 PetscCall(VecDestroy(&z2)); in main()
/petsc/src/dm/tests/
H A Dex50.c10 PetscScalar x, y, z, x2, y2, z2; in MapPoint() local
17 z2 = z * z; in MapPoint()
18 mxyz[0] = x * PetscSqrtScalar(1.0 - y2 / 2.0 - z2 / 2.0 + y2 * z2 / 3.0); in MapPoint()
19 mxyz[1] = y * PetscSqrtScalar(1.0 - z2 / 2.0 - x2 / 2.0 + z2 * x2 / 3.0); in MapPoint()
/petsc/src/mat/tutorials/
H A Dex9.c15 Vec x, y, v, v2, z, z2; in main() local
41 PetscCall(VecDuplicate(z, &z2)); in main()
52 PetscCall(MatMult(A[i], x, z2)); in main()
53 PetscCall(VecAXPY(z, scalings[i], z2)); in main()
151 PetscCall(VecDestroy(&z2)); in main()
/petsc/src/ksp/ksp/tutorials/
H A Dex59.c459 PetscScalar x, z0, z1, z2, Lpj, Lpr, rhoGLj, rhoGLk; in GLLStuffs() local
492 z2 = -1; /* Dummy value to avoid -Wmaybe-initialized */ in GLLStuffs()
498 z2 = x * z1 * (2.0 * n + 1.0) / (n + 1.0) - z0 * (PetscScalar)(n / (n + 1.0)); in GLLStuffs()
500 z1 = z2; in GLLStuffs()
502 glldata->rhoGL[i] = 2.0 / (p * (p + 1.0) * z2 * z2); in GLLStuffs()
515 z2 = x * z1 * (2.0 * n + 1.0) / (n + 1.0) - z0 * (PetscScalar)(n / (n + 1.0)); in GLLStuffs()
517 z1 = z2; in GLLStuffs()
519 Lpj = z2; in GLLStuffs()
528 z2 = x * z1 * (2.0 * n + 1.0) / (n + 1.0) - z0 * (PetscScalar)(n / (n + 1.0)); in GLLStuffs()
530 z1 = z2; in GLLStuffs()
[all …]
/petsc/src/mat/impls/baij/seq/
H A Dbaij2.c681 __m256d z0, z1, z2; in MatMult_SeqBAIJ_9_AVX2() local
720 z2 = _mm256_setzero_pd(); in MatMult_SeqBAIJ_9_AVX2()
730 z2 = _mm256_fmadd_pd(a2, w0, z2); in MatMult_SeqBAIJ_9_AVX2()
739 z2 = _mm256_fmadd_pd(a2, w1, z2); in MatMult_SeqBAIJ_9_AVX2()
748 z2 = _mm256_fmadd_pd(a5, w2, z2); in MatMult_SeqBAIJ_9_AVX2()
757 z2 = _mm256_fmadd_pd(a2, w3, z2); in MatMult_SeqBAIJ_9_AVX2()
766 z2 = _mm256_fmadd_pd(a5, w0, z2); in MatMult_SeqBAIJ_9_AVX2()
775 z2 = _mm256_fmadd_pd(a2, w1, z2); in MatMult_SeqBAIJ_9_AVX2()
784 z2 = _mm256_fmadd_pd(a2, w2, z2); in MatMult_SeqBAIJ_9_AVX2()
793 z2 = _mm256_fmadd_pd(a5, w3, z2); in MatMult_SeqBAIJ_9_AVX2()
[all …]
/petsc/src/snes/utils/dm/
H A Ddminterpolatesnes.c634 const PetscScalar z2 = vertices[8]; in HexMap_Private() local
661 const PetscScalar h_01 = z2 - z1 - z3 + z0; in HexMap_Private()
670 const PetscScalar h_012 = z6 - z0 + z1 - z2 + z3 + z4 - z5 - z7; in HexMap_Private()
703 const PetscScalar z2 = vertices[8]; in HexJacobian_Private() local
721 const PetscScalar h_xy = z2 - z1 - z3 + z0; in HexJacobian_Private()
730 const PetscScalar h_xyz = z6 - z0 + z1 - z2 + z3 + z4 - z5 - z7; in HexJacobian_Private()
/petsc/src/dm/dt/interface/
H A Ddt.c2979 PetscReal z0, z1, z2 = -1, x, Lpj, Lpr; in PetscGaussLobattoLegendreElementLaplacianCreate() local
2992z2 = x * z1 * (2. * ((PetscReal)nn) + 1.) / (((PetscReal)nn) + 1.) - z0 * (((PetscReal)nn) / (((Pe… in PetscGaussLobattoLegendreElementLaplacianCreate()
2994 z1 = z2; in PetscGaussLobattoLegendreElementLaplacianCreate()
2996 Lpj = z2; in PetscGaussLobattoLegendreElementLaplacianCreate()
3005z2 = x * z1 * (2. * ((PetscReal)nn) + 1.) / (((PetscReal)nn) + 1.) - z0 * (((PetscReal)nn) / (((Pe… in PetscGaussLobattoLegendreElementLaplacianCreate()
3007 z1 = z2; in PetscGaussLobattoLegendreElementLaplacianCreate()
3009 Lpr = z2; in PetscGaussLobattoLegendreElementLaplacianCreate()
3019z2 = x * z1 * (2. * ((PetscReal)nn) + 1.) / (((PetscReal)nn) + 1.) - z0 * (((PetscReal)nn) / (((Pe… in PetscGaussLobattoLegendreElementLaplacianCreate()
3021 z1 = z2; in PetscGaussLobattoLegendreElementLaplacianCreate()
3023 Lpj = z2; in PetscGaussLobattoLegendreElementLaplacianCreate()
[all …]
/petsc/src/dm/impls/plex/
H A Dplexegads.c3740 PetscScalar x2, y2, z2; in DMPlexGeomDataAndGrads() local
3744 z2 = cntrlPtCoords[(3 * jj) + 2]; in DMPlexGeomDataAndGrads()
3746 cpDelta = PetscSqrtReal(PetscSqr(x2 - x1) + PetscSqr(y2 - y1) + PetscSqr(z2 - z1)); in DMPlexGeomDataAndGrads()
H A Dplexgeometry.c1643 …const PetscReal x2 = coords[6] - coords[0], y2 = coords[7] - coords[1], z2 = coords[8] - coords[2]; in Volume_Tetrahedron_Internal() local
1654 M[7] = z2; in Volume_Tetrahedron_Internal()
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas1056 (nox/thermal-z2-r (3810. 1. 20820.))
1057 (nox/thermal-z2-f (18000. 1. 4680.))