Home
last modified time | relevance | path

Searched refs:chunksizes (Results 1 – 6 of 6) sorted by relevance

/petsc/src/ksp/ksp/impls/fcg/
H A Dfcgimpl.h16 PetscInt *chunksizes; /* Chunk sizes allocated */ member
H A Dfcg.c32 fcg->chunksizes[fcg->nchunks] = nnewvecs; in KSPAllocateVectors_FCG()
51 …Cvecs, fcg->mmax + 1, &fcg->pPvecs, fcg->mmax + 1, &fcg->pCvecs, fcg->mmax + 2, &fcg->chunksizes)); in KSPSetUp_FCG()
279 PetscCall(VecDestroyVecs(fcg->chunksizes[i], &fcg->pPvecs[i])); in KSPReset_FCG()
280 PetscCall(VecDestroyVecs(fcg->chunksizes[i], &fcg->pCvecs[i])); in KSPReset_FCG()
284 PetscCall(PetscFree5(fcg->Pvecs, fcg->Cvecs, fcg->pPvecs, fcg->pCvecs, fcg->chunksizes)); in KSPReset_FCG()
/petsc/src/ksp/ksp/impls/fcg/pipefcg/
H A Dpipefcgimpl.h12 PetscInt *chunksizes; /* Chunk sizes allocated */ member
H A Dpipefcg.c46 pipefcg->chunksizes[pipefcg->nchunks] = nnewvecs; in KSPAllocateVectors_PIPEFCG()
69 PetscCall(PetscMalloc1(pipefcg->mmax + 1, &pipefcg->chunksizes)); in KSPSetUp_PIPEFCG()
346 PetscCall(VecDestroyVecs(pipefcg->chunksizes[i], &pipefcg->pPvecs[i])); in KSPDestroy_PIPEFCG()
347 PetscCall(VecDestroyVecs(pipefcg->chunksizes[i], &pipefcg->pSvecs[i])); in KSPDestroy_PIPEFCG()
348 PetscCall(VecDestroyVecs(pipefcg->chunksizes[i], &pipefcg->pQvecs[i])); in KSPDestroy_PIPEFCG()
349 PetscCall(VecDestroyVecs(pipefcg->chunksizes[i], &pipefcg->pZETAvecs[i])); in KSPDestroy_PIPEFCG()
355 PetscCall(PetscFree(pipefcg->chunksizes)); in KSPDestroy_PIPEFCG()
/petsc/src/ksp/ksp/impls/gcr/pipegcr/
H A Dpipegcrimpl.h11 PetscInt *chunksizes; /* Chunk sizes allocated */ member
H A Dpipegcr.c50 pipegcr->chunksizes[pipegcr->nchunks] = nnewvecs; in KSPAllocateVectors_PIPEGCR()
373 … + 2, &pipegcr->sold, pipegcr->mmax + 2, &pipegcr->qold, pipegcr->mmax + 2, &pipegcr->chunksizes)); in KSPSetUp_PIPEGCR()
403 PetscCall(VecDestroyVecs(pipegcr->chunksizes[i], &pipegcr->ppvecs[i])); in KSPDestroy_PIPEGCR()
404 PetscCall(VecDestroyVecs(pipegcr->chunksizes[i], &pipegcr->psvecs[i])); in KSPDestroy_PIPEGCR()
405 PetscCall(VecDestroyVecs(pipegcr->chunksizes[i], &pipegcr->pqvecs[i])); in KSPDestroy_PIPEGCR()
406 if (pipegcr->unroll_w) PetscCall(VecDestroyVecs(pipegcr->chunksizes[i], &pipegcr->ptvecs[i])); in KSPDestroy_PIPEGCR()
411 PetscCall(PetscFree4(pipegcr->pold, pipegcr->sold, pipegcr->qold, pipegcr->chunksizes)); in KSPDestroy_PIPEGCR()