Home
last modified time | relevance | path

Searched refs:prevecs (Results 1 – 4 of 4) sorted by relevance

/petsc/src/ksp/ksp/impls/gmres/fgmres/
H A Dfgmresimpl.h10 Vec *prevecs; /* holds the preconditioned basis vectors for fgmres. member
41 fgmres->prevecs[i] /* use to access
H A Dfgmres.c30 PetscCall(PetscMalloc1(max_k + 2, &fgmres->prevecs)); in KSPSetUp_FGMRES()
37 …for (k = 0; k < fgmres->vv_allocated - VEC_OFFSET; k++) fgmres->prevecs[k] = fgmres->prevecs_user_… in KSPSetUp_FGMRES()
395 for (k = 0; k < nalloc; k++) fgmres->prevecs[it + k] = fgmres->prevecs_user_work[nwork][k]; in KSPFGMRESGetNewVectors()
452 PetscCall(PetscFree(fgmres->prevecs)); in KSPReset_FGMRES()
/petsc/src/ksp/ksp/impls/gmres/pipefgmres/
H A Dpipefgmresimpl.h10 …Vec *prevecs; /* holds the preconditioned basis vectors for fgmres. We will allocate th… member
43 #define PREVEC(i) pipefgmres->prevecs[i] /* use to access preconditioned basis */
H A Dpipefgmres.c31 PetscCall(PetscMalloc1(VEC_OFFSET + max_k, &pipefgmres->prevecs)); in KSPSetUp_PIPEFGMRES()
35 …for (k = 0; k < pipefgmres->vv_allocated; k++) pipefgmres->prevecs[k] = pipefgmres->prevecs_user_w… in KSPSetUp_PIPEFGMRES()
516 PetscCall(PetscFree(pipefgmres->prevecs)); in KSPReset_PIPEFGMRES()
630 …for (k = 0; k < nalloc; k++) pipefgmres->prevecs[it + k] = pipefgmres->prevecs_user_work[nwork][k]; in KSPPIPEFGMRESGetNewVectors()