Home
last modified time | relevance | path

Searched refs:UU (Results 1 – 7 of 7) sorted by relevance

/petsc/src/snes/tutorials/
H A Dex75.c58 PetscScalar Rp, UU, VV; in SolKxSolution() local
90 UU = Rp - B; in SolKxSolution()
124 t6 = UU * x; in SolKxSolution()
176 t20 = UU * x; in SolKxSolution()
370 …*vz = UU * _C1 * t3 + UU * _C2 * t6 - _C1 * t6 * Rm + _C2 * t3 * Rm - VV * _C3 * t3 - VV * _C4 * t… in SolKxSolution()
379 t15 = UU * UU; in SolKxSolution()
380 t19 = 0.4e1 * t4 * UU * Rm - t11 - t14 + 0.3e1 * t3 * t15 * Rm; in SolKxSolution()
385 t36 = -t3 * t15 * UU - t26 + 0.3e1 * t9 * UU + 0.3e1 * t3 * UU * t12 + t33 - 0.2e1 * t4 * t15; in SolKxSolution()
412 t24 = UU * UU; in SolKxSolution()
414 t28 = t3 * UU; in SolKxSolution()
[all …]
H A Dex3k.kokkos.cxx299 PetscScalarKokkosOffsetView FF, UU; in main() local
301 PetscCall(DMDAVecGetKokkosOffsetViewWrite(ctx.da, U, &UU)); in main()
306 UU(i) = xp * xp * xp; in main()
309 PetscCall(DMDAVecRestoreKokkosOffsetViewWrite(ctx.da, U, &UU)); in main()
H A Dex3.c85 PetscScalar xp, *FF, *UU, none = -1.0; in main() local
245 PetscCall(DMDAVecGetArray(ctx.da, U, &UU)); in main()
253 UU[i] = xp * xp * xp; in main()
261 PetscCall(DMDAVecRestoreArray(ctx.da, U, &UU)); in main()
H A Dex69.c202 PetscReal Rp, UU, VV; in SolKxSolution() local
236 UU = Rp - B; in SolKxSolution()
279 t6 = UU * x; in SolKxSolution()
331 t20 = UU * x; in SolKxSolution()
518 …u2 = UU * _PC1 * t3 + UU * _PC2 * t6 - _PC1 * t6 * Rm + _PC2 * t3 * Rm - VV * _PC3 * t3 - VV * _P… in SolKxSolution()
527 t15 = UU * UU; in SolKxSolution()
528 t19 = 0.4e1 * t4 * UU * Rm - t11 - t14 + 0.3e1 * t3 * t15 * Rm; in SolKxSolution()
533 t36 = 0.3e1 * t3 * UU * t12 - t27 - 0.2e1 * t4 * t15 + 0.3e1 * t9 * UU + t33 - t3 * t15 * UU; in SolKxSolution()
560 t24 = UU * UU; in SolKxSolution()
562 t28 = t3 * UU; in SolKxSolution()
[all …]
/petsc/src/ksp/ksp/impls/gmres/dgmres/
H A Ddgmres.c70 UU = NULL; in KSPSetUp_DGMRES()
257 …for (i = 0; i < dgmres->r; i++) PetscCall(VecViewFromOptions(UU[i], (PetscObject)ksp, "-ksp_dgmres… in KSPSolve_DGMRES()
269 PetscCall(VecDestroyVecs(max_neig, &UU)); in KSPDestroy_DGMRES()
573 PetscCall(VecDot(XX[j], UU[i], &alpha)); in KSPDGMRESComputeDeflationData_DGMRES()
575 PetscCall(VecAXPY(XX[j], -alpha, UU[i])); in KSPDGMRESComputeDeflationData_DGMRES()
597 for (j = 0; j < neig; j++) PetscCall(VecMDot(MX[j], r, UU, &UMX[j * max_neig])); in KSPDGMRESComputeDeflationData_DGMRES()
634 if (!UU) { in KSPDGMRESComputeDeflationData_DGMRES()
635 PetscCall(VecDuplicateVecs(VEC_VV(0), max_neig, &UU)); in KSPDGMRESComputeDeflationData_DGMRES()
639 PetscCall(VecCopy(XX[j], UU[r - neig + j])); in KSPDGMRESComputeDeflationData_DGMRES()
798 PetscCall(VecMDot(x, r, UU, X1)); in KSPDGMRESApplyDeflation_DGMRES()
[all …]
H A Ddgmresimpl.h69 #define UU dgmres->U macro
/petsc/src/snes/tests/
H A Dex12f.F90203 PetscScalar xp, FF, UU, h
244 UU = xp*xp*xp
246 PetscCallA(VecSetValues(U, i1, [ii], [UU], INSERT_VALUES, ierr))