Searched refs:nvecsneeded (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/ksp/ksp/impls/fcg/ |
| H A D | fcg.c | 14 static PetscErrorCode KSPAllocateVectors_FCG(KSP ksp, PetscInt nvecsneeded, PetscInt chunksize) in KSPAllocateVectors_FCG() argument 22 if (fcg->nvecs < PetscMin(fcg->mmax + 1, nvecsneeded)) { in KSPAllocateVectors_FCG() 24 nnewvecs = PetscMin(PetscMax(nvecsneeded - fcg->nvecs, chunksize), fcg->mmax + 1 - fcg->nvecs); in KSPAllocateVectors_FCG()
|
| /petsc/src/ksp/ksp/impls/fcg/pipefcg/ |
| H A D | pipefcg.c | 22 static PetscErrorCode KSPAllocateVectors_PIPEFCG(KSP ksp, PetscInt nvecsneeded, PetscInt chunksize) in KSPAllocateVectors_PIPEFCG() argument 32 if (pipefcg->nvecs < PetscMin(pipefcg->mmax + 1, nvecsneeded)) { in KSPAllocateVectors_PIPEFCG() 34 …nnewvecs = PetscMin(PetscMax(nvecsneeded - pipefcg->nvecs, chunksize), pipefcg->mmax + 1 - pipefc… in KSPAllocateVectors_PIPEFCG()
|
| /petsc/src/ksp/ksp/impls/gcr/pipegcr/ |
| H A D | pipegcr.c | 26 static PetscErrorCode KSPAllocateVectors_PIPEGCR(KSP ksp, PetscInt nvecsneeded, PetscInt chunksize) in KSPAllocateVectors_PIPEGCR() argument 36 if (pipegcr->nvecs < PetscMin(pipegcr->mmax + 1, nvecsneeded)) { in KSPAllocateVectors_PIPEGCR() 38 …nnewvecs = PetscMin(PetscMax(nvecsneeded - pipegcr->nvecs, chunksize), pipegcr->mmax + 1 - pipegc… in KSPAllocateVectors_PIPEGCR()
|