| /petsc/src/mat/tests/ ! |
| H A D | ex228.c | 17 Vec x1, y1, z1; /* Duplicate vectors */ in main() local 55 PetscCall(VecDuplicate(z, &z1)); in main() 67 PetscCall(MatMultTranspose(A, y1, z1)); in main() 71 PetscCall(VecScale(z1, a)); in main() 72 PetscCall(VecAXPY(z1, -1.0, x)); in main() 73 PetscCall(VecNorm(z1, NORM_1, &enorm)); in main() 79 PetscCall(VecDestroy(&z1)); in main()
|
| H A D | ex121.c | 22 Vec w, x, y1, y2, z1, z2; in main() local 57 PetscCall(VecDuplicate(x, &z1)); in main() 58 PetscCall(PetscObjectSetName((PetscObject)z1, "Reconstructed convolution")); in main() 92 PetscCall(MatMultTranspose(A, y1, z1)); in main() 115 PetscCall(VecScale(z1, s)); in main() 116 if (view) PetscCall(VecView(z1, PETSC_VIEWER_DRAW_WORLD)); in main() 118 PetscCall(VecAXPY(z1, -1.0, z2)); in main() 119 PetscCall(VecNorm(z1, NORM_1, &enorm)); in main() 126 PetscCall(VecDestroy(&z1)); in main()
|
| /petsc/share/petsc/datafiles/meshes/ ! |
| H A D | pyr_tet.geo | 3 z0 = 0; z1 = 1; 24 Point(5) = {x0, y0, z1}; 25 Point(6) = {x1, y0, z1}; 26 Point(7) = {x0, y1, z1}; 27 Point(8) = {x1, y1, z1};
|
| H A D | gmsh-3d.geo | 7 z0 = 0; z1 = 1; 28 Point(5) = {x0, y0, z1}; 29 Point(6) = {x1, y0, z1}; 30 Point(7) = {x0, y1, z1}; 31 Point(8) = {x1, y1, z1};
|
| H A D | gmsh-hex.geo | 3 z0 = 0; z1 = 1; 24 Point(5) = {x0, y0, z1}; 25 Point(6) = {x1, y0, z1}; 26 Point(7) = {x0, y1, z1}; 27 Point(8) = {x1, y1, z1};
|
| H A D | testcase3D.cas | 1058 (nox/thermal-z1-r (38000000. 0. 425.)) 1059 (nox/thermal-z1-f (180000000. 0. 38370.))
|
| /petsc/src/ksp/ksp/tutorials/ ! |
| H A D | ex59.c | 459 PetscScalar x, z0, z1, z2, Lpj, Lpr, rhoGLj, rhoGLk; in GLLStuffs() local 496 z1 = x; in GLLStuffs() 498 z2 = x * z1 * (2.0 * n + 1.0) / (n + 1.0) - z0 * (PetscScalar)(n / (n + 1.0)); in GLLStuffs() 499 z0 = z1; in GLLStuffs() 500 z1 = z2; in GLLStuffs() 513 z1 = x; in GLLStuffs() 515 z2 = x * z1 * (2.0 * n + 1.0) / (n + 1.0) - z0 * (PetscScalar)(n / (n + 1.0)); in GLLStuffs() 516 z0 = z1; in GLLStuffs() 517 z1 = z2; in GLLStuffs() 526 z1 = x; in GLLStuffs() [all …]
|
| H A D | ex51.c | 407 PetscReal z1, z, xm, xl, q, qp, Ln, scale; in leggaulob() local 427 z1 = z; in leggaulob() 428 z = z1 - q / qp; /* Newton's method. */ in leggaulob() 429 } while (PetscAbsReal(z - z1) > 3.0e-11); in leggaulob()
|
| /petsc/src/mat/impls/baij/seq/ ! |
| H A D | baij2.c | 681 __m256d z0, z1, z2; in MatMult_SeqBAIJ_9_AVX2() local 719 z1 = _mm256_setzero_pd(); in MatMult_SeqBAIJ_9_AVX2() 728 z1 = _mm256_fmadd_pd(a1, w0, z1); in MatMult_SeqBAIJ_9_AVX2() 737 z1 = _mm256_fmadd_pd(a1, w1, z1); in MatMult_SeqBAIJ_9_AVX2() 746 z1 = _mm256_fmadd_pd(a4, w2, z1); in MatMult_SeqBAIJ_9_AVX2() 755 z1 = _mm256_fmadd_pd(a1, w3, z1); in MatMult_SeqBAIJ_9_AVX2() 764 z1 = _mm256_fmadd_pd(a4, w0, z1); in MatMult_SeqBAIJ_9_AVX2() 773 z1 = _mm256_fmadd_pd(a1, w1, z1); in MatMult_SeqBAIJ_9_AVX2() 782 z1 = _mm256_fmadd_pd(a1, w2, z1); in MatMult_SeqBAIJ_9_AVX2() 791 z1 = _mm256_fmadd_pd(a4, w3, z1); in MatMult_SeqBAIJ_9_AVX2() [all …]
|
| /petsc/src/snes/utils/dm/ ! |
| H A D | dminterpolatesnes.c | 631 const PetscScalar z1 = vertices[11]; in HexMap_Private() local 652 const PetscScalar h_1 = z1 - z0; in HexMap_Private() 661 const PetscScalar h_01 = z2 - z1 - z3 + z0; in HexMap_Private() 667 const PetscScalar h_02 = z5 - z1 - z4 + z0; in HexMap_Private() 670 const PetscScalar h_012 = z6 - z0 + z1 - z2 + z3 + z4 - z5 - z7; in HexMap_Private() 700 const PetscScalar z1 = vertices[11]; in HexJacobian_Private() local 721 const PetscScalar h_xy = z2 - z1 - z3 + z0; in HexJacobian_Private() 727 const PetscScalar h_xz = z5 - z1 - z4 + z0; in HexJacobian_Private() 730 const PetscScalar h_xyz = z6 - z0 + z1 - z2 + z3 + z4 - z5 - z7; in HexJacobian_Private() 748 values[6] = (z1 - z0 + h_xy * y + h_xz * z + h_xyz * y * z) / 2.0; in HexJacobian_Private()
|
| /petsc/src/dm/dt/interface/ ! |
| H A D | dt.c | 2979 PetscReal z0, z1, z2 = -1, x, Lpj, Lpr; in PetscGaussLobattoLegendreElementLaplacianCreate() local 2990 z1 = x; in PetscGaussLobattoLegendreElementLaplacianCreate() 2992 …z2 = x * z1 * (2. * ((PetscReal)nn) + 1.) / (((PetscReal)nn) + 1.) - z0 * (((PetscReal)nn) / (((Pe… in PetscGaussLobattoLegendreElementLaplacianCreate() 2993 z0 = z1; in PetscGaussLobattoLegendreElementLaplacianCreate() 2994 z1 = z2; in PetscGaussLobattoLegendreElementLaplacianCreate() 3003 z1 = x; in PetscGaussLobattoLegendreElementLaplacianCreate() 3005 …z2 = x * z1 * (2. * ((PetscReal)nn) + 1.) / (((PetscReal)nn) + 1.) - z0 * (((PetscReal)nn) / (((Pe… in PetscGaussLobattoLegendreElementLaplacianCreate() 3006 z0 = z1; in PetscGaussLobattoLegendreElementLaplacianCreate() 3007 z1 = z2; in PetscGaussLobattoLegendreElementLaplacianCreate() 3017 z1 = x; in PetscGaussLobattoLegendreElementLaplacianCreate() [all …]
|
| /petsc/src/dm/impls/plex/ ! |
| H A D | plexegads.c | 3732 PetscScalar x1, y1, z1; in DMPlexGeomDataAndGrads() local 3737 z1 = cntrlPtCoords[(3 * ii) + 2]; in DMPlexGeomDataAndGrads() 3746 cpDelta = PetscSqrtReal(PetscSqr(x2 - x1) + PetscSqr(y2 - y1) + PetscSqr(z2 - z1)); in DMPlexGeomDataAndGrads()
|
| H A D | plexgeometry.c | 1642 …const PetscReal x1 = coords[3] - coords[0], y1 = coords[4] - coords[1], z1 = coords[5] - coords[2]; in Volume_Tetrahedron_Internal() local 1653 M[6] = z1; in Volume_Tetrahedron_Internal()
|