Home
last modified time | relevance | path

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

/petsc/src/ksp/ksp/impls/fcg/pipefcg/
H A Dpipefcg.c70 …>mmax + 2, &pipefcg->dots, pipefcg->mmax + 1, &pipefcg->etas, pipefcg->mmax + 2, &pipefcg->redux)); in KSPSetUp_PIPEFCG()
86 Vec B, R, Z, X, Qcurr, W, ZETAcurr, M, N, Pcurr, Scurr, *redux; in KSPSolve_PIPEFCG_cycle() local
110 redux = pipefcg->redux; in KSPSolve_PIPEFCG_cycle()
131 redux[0] = R; in KSPSolve_PIPEFCG_cycle()
132 redux[1] = W; in KSPSolve_PIPEFCG_cycle()
133 PetscCall(VecMXDotBegin(Z, 2, redux, dots)); in KSPSolve_PIPEFCG_cycle()
139 PetscCall(VecMXDotEnd(Z, 2, redux, dots)); in KSPSolve_PIPEFCG_cycle()
214 redux[j] = pipefcg->Svecs[kdx]; in KSPSolve_PIPEFCG_cycle()
216redux[j] = R; /* If the above loop is not executed redux contains only R => all beta_k = 0, on… in KSPSolve_PIPEFCG_cycle()
217 redux[j + 1] = W; in KSPSolve_PIPEFCG_cycle()
[all …]
H A Dpipefcgimpl.h18 Vec *redux; member
/petsc/src/ksp/ksp/impls/gcr/pipegcr/
H A Dpipegcr.c60 Vec x, r, b, z, w, m, n, p, s, q, t, *redux; in KSPSolve_PIPEGCR_cycle() local
83 redux = pipegcr->redux; in KSPSolve_PIPEGCR_cycle()
99 redux[0] = w; in KSPSolve_PIPEGCR_cycle()
100 redux[1] = r; in KSPSolve_PIPEGCR_cycle()
101 …PetscCall(VecMDotBegin(w, 2, redux, dots)); /* Start split reduction… in KSPSolve_PIPEGCR_cycle()
105 …PetscCall(VecMDotEnd(w, 2, redux, dots)); /* Finish split reductio… in KSPSolve_PIPEGCR_cycle()
162 redux[j] = pipegcr->svecs[kdx]; in KSPSolve_PIPEGCR_cycle()
165 redux[j] = r; in KSPSolve_PIPEGCR_cycle()
166 redux[j + 1] = w; in KSPSolve_PIPEGCR_cycle()
170 PetscCall(VecMDotBegin(w, j + 2, redux, dots)); in KSPSolve_PIPEGCR_cycle()
[all …]
H A Dpipegcrimpl.h17 Vec *redux; member
/petsc/src/ksp/ksp/impls/gmres/pipefgmres/
H A Dpipefgmres.c40 PetscCall(PetscMalloc1(VEC_OFFSET + max_k, &pipefgmres->redux)); in KSPSetUp_PIPEFGMRES()
59 Vec *redux = pipefgmres->redux; /* workspace for single reduction */ in KSPPIPEFGMRESCycle() local
136 for (i = 0; i < loc_it + 1; i++) redux[i] = VEC_VV(i); in KSPPIPEFGMRESCycle()
137 redux[loc_it + 1] = ZVEC(loc_it); in KSPPIPEFGMRESCycle()
140 PetscCall(VecMDotBegin(ZVEC(loc_it), loc_it + 2, redux, lhh)); in KSPPIPEFGMRESCycle()
164 PetscCall(VecMDotEnd(ZVEC(loc_it), loc_it + 2, redux, lhh)); in KSPPIPEFGMRESCycle()
524 PetscCall(PetscFree(pipefgmres->redux)); in KSPReset_PIPEFGMRES()
H A Dpipefgmresimpl.h22 Vec *redux; member
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas4783 (stiff-solver/temp-time-redux 0.25)
8314 (cpld/sol-steering/cfl-outerloop-redux 0.75)
8340 (cpld/smooth-cfl-recovery-prev-cfl-redux 1.)
8341 (cpld/smooth-cfl-recovery-min-cfl-redux 1.)