Searched refs:VV (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/snes/tutorials/ |
| H A D | ex75.c | 58 PetscScalar Rp, UU, VV; in SolKxSolution() local 91 VV = Rp + B; in SolKxSolution() 231 t6 = VV * x; in SolKxSolution() 283 t20 = VV * 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() 387 t46 = VV * VV; in SolKxSolution() 388 t53 = -t11 - t14 + 0.3e1 * t3 * t46 * Rm - 0.4e1 * t4 * VV * Rm; in SolKxSolution() 389 t64 = -t26 + t33 + t3 * t46 * VV - 0.3e1 * t9 * VV - 0.2e1 * t4 * t46 - 0.3e1 * t3 * VV * t12; in SolKxSolution() 419 t45 = VV * VV; in SolKxSolution() 421 t49 = t3 * VV; in SolKxSolution() [all …]
|
| H A D | ex69.c | 202 PetscReal Rp, UU, VV; in SolKxSolution() local 237 VV = Rp + B; in SolKxSolution() 384 t6 = VV * x; in SolKxSolution() 436 t20 = VV * x; in SolKxSolution() 518 …u2 = UU * _PC1 * t3 + UU * _PC2 * t6 - _PC1 * t6 * Rm + _PC2 * t3 * Rm - VV * _PC3 * t3 - VV * _P… in SolKxSolution() 535 t49 = VV * VV; in SolKxSolution() 536 t53 = -0.4e1 * t4 * VV * Rm - t11 + 0.3e1 * t3 * t49 * Rm - t14; in SolKxSolution() 537 t64 = t3 * t49 * VV + t33 - 0.3e1 * t9 * VV - 0.2e1 * t4 * t49 - t27 - 0.3e1 * t3 * VV * t12; in SolKxSolution() 567 t45 = VV * VV; in SolKxSolution() 569 t49 = t3 * VV; in SolKxSolution() [all …]
|
| /petsc/src/ksp/ksp/impls/gcr/ |
| H A D | gcr.c | 7 Vec *VV, *SS; member 39 v = ctx->VV[k]; in KSPSolve_GCR_cycle() 46 PetscCall(VecMDot(v, k, ctx->VV, ctx->val)); in KSPSolve_GCR_cycle() 48 PetscCall(VecMAXPY(v, k, ctx->val, ctx->VV)); /* v = v - sum_{i=0}^{k-1} alpha_i v_i */ in KSPSolve_GCR_cycle() 146 PetscCall(VecDuplicateVecs(ctx->R, ctx->restart, &ctx->VV)); in KSPSetUp_GCR() 159 PetscCall(VecDestroyVecs(ctx->restart, &ctx->VV)); in KSPReset_GCR()
|