Home
last modified time | relevance | path

Searched refs:unroll_w (Results 1 – 2 of 2) sorted by relevance

/petsc/src/ksp/ksp/impls/gcr/pipegcr/
H A Dpipegcr.c42 …if (pipegcr->unroll_w) PetscCall(KSPCreateVecs(ksp, nnewvecs, &pipegcr->ptvecs[pipegcr->nchunks], … in KSPAllocateVectors_PIPEGCR()
48 if (pipegcr->unroll_w) pipegcr->tvecs[nvecsprev + i] = pipegcr->ptvecs[pipegcr->nchunks][i]; in KSPAllocateVectors_PIPEGCR()
81 t = pipegcr->unroll_w ? pipegcr->tvecs[0] : NULL; in KSPSolve_PIPEGCR_cycle()
104 if (pipegcr->unroll_w) PetscCall(KSP_MatMult(ksp, A, q, t)); /* t = Aq */ in KSPSolve_PIPEGCR_cycle()
121 if (pipegcr->unroll_w) { in KSPSolve_PIPEGCR_cycle()
140 if (pipegcr->unroll_w) t = pipegcr->tvecs[idx]; in KSPSolve_PIPEGCR_cycle()
161 if (pipegcr->unroll_w) pipegcr->told[j] = pipegcr->tvecs[kdx]; in KSPSolve_PIPEGCR_cycle()
177 …if (pipegcr->unroll_w) PetscCall(KSP_MatMult(ksp, A, m, n)); /* n = Am … in KSPSolve_PIPEGCR_cycle()
236 if (pipegcr->unroll_w) { in KSPSolve_PIPEGCR_cycle()
345 … PetscCall(PetscViewerASCIIPrintf(viewer, " w unrolling = %s \n", PetscBools[pipegcr->unroll_w])); in KSPView_PIPEGCR()
[all …]
H A Dpipegcrimpl.h19 PetscBool unroll_w; member