Searched refs:nprealloc (Results 1 – 6 of 6) sorted by relevance
| /petsc/src/ksp/ksp/impls/fcg/ |
| H A D | fcg.c | 54 …nprealloc > fcg->mmax + 1) PetscCall(PetscInfo(NULL, "Requested nprealloc=%" PetscInt_FMT " is gre… in KSPSetUp_FCG() 57 PetscCall(KSPAllocateVectors_FCG(ksp, fcg->nprealloc, fcg->nprealloc)); in KSPSetUp_FCG() 315 …(viewer, " preallocated %" PetscInt_FMT " directions\n", PetscMin(fcg->nprealloc, fcg->mmax + 1))… in KSPView_FCG() 318 …r, "m_max %" PetscInt_FMT " nprealloc %" PetscInt_FMT " %s", fcg->mmax, fcg->nprealloc, truncstr)); in KSPView_FCG() 398 PetscErrorCode KSPFCGSetNprealloc(KSP ksp, PetscInt nprealloc) in KSPFCGSetNprealloc() argument 404 PetscValidLogicalCollectiveInt(ksp, nprealloc, 2); in KSPFCGSetNprealloc() 405 …PetscCheck(nprealloc <= fcg->mmax + 1, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Cannot prealloc… in KSPFCGSetNprealloc() 406 fcg->nprealloc = nprealloc; in KSPFCGSetNprealloc() 425 PetscErrorCode KSPFCGGetNprealloc(KSP ksp, PetscInt *nprealloc) in KSPFCGGetNprealloc() argument 431 *nprealloc = fcg->nprealloc; in KSPFCGGetNprealloc() [all …]
|
| H A D | fcgimpl.h | 12 PetscInt nprealloc; /* How many vectors to preallocate */ member
|
| /petsc/src/ksp/ksp/impls/fcg/pipefcg/ |
| H A D | pipefcg.c | 73 …nprealloc > pipefcg->mmax + 1) PetscCall(PetscInfo(NULL, "Requested nprealloc=%" PetscInt_FMT " is… in KSPSetUp_PIPEFCG() 76 PetscCall(KSPAllocateVectors_PIPEFCG(ksp, pipefcg->nprealloc, pipefcg->nprealloc)); in KSPSetUp_PIPEFCG() 381 …wer, " preallocated %" PetscInt_FMT " directions\n", PetscMin(pipefcg->nprealloc, pipefcg->mmax +… in KSPView_PIPEFCG() 385 … PetscInt_FMT " directions, %s truncation strategy", pipefcg->mmax, pipefcg->nprealloc, truncstr)); in KSPView_PIPEFCG() 462 PetscErrorCode KSPPIPEFCGSetNprealloc(KSP ksp, PetscInt nprealloc) in KSPPIPEFCGSetNprealloc() argument 468 PetscValidLogicalCollectiveInt(ksp, nprealloc, 2); in KSPPIPEFCGSetNprealloc() 469 pipefcg->nprealloc = nprealloc; in KSPPIPEFCGSetNprealloc() 488 PetscErrorCode KSPPIPEFCGGetNprealloc(KSP ksp, PetscInt *nprealloc) in KSPPIPEFCGGetNprealloc() argument 494 *nprealloc = pipefcg->nprealloc; in KSPPIPEFCGGetNprealloc() 557 PetscInt mmax, nprealloc; in KSPSetFromOptions_PIPEFCG() local [all …]
|
| H A D | pipefcgimpl.h | 8 PetscInt nprealloc; /* How many vectors to preallocate */ member
|
| /petsc/src/ksp/ksp/impls/gcr/pipegcr/ |
| H A D | pipegcr.c | 343 …wer, " preallocated %" PetscInt_FMT " directions\n", PetscMin(pipegcr->nprealloc, pipegcr->mmax +… in KSPView_PIPEGCR() 348 … PetscInt_FMT " directions, %s truncation strategy", pipegcr->mmax, pipegcr->nprealloc, truncstr)); in KSPView_PIPEGCR() 376 …nprealloc > pipegcr->mmax + 1) PetscCall(PetscInfo(NULL, "Requested nprealloc=%" PetscInt_FMT " is… in KSPSetUp_PIPEGCR() 379 PetscCall(KSPAllocateVectors_PIPEGCR(ksp, pipegcr->nprealloc, pipegcr->nprealloc)); in KSPSetUp_PIPEGCR() 546 PetscErrorCode KSPPIPEGCRSetNprealloc(KSP ksp, PetscInt nprealloc) in KSPPIPEGCRSetNprealloc() argument 552 PetscValidLogicalCollectiveInt(ksp, nprealloc, 2); in KSPPIPEGCRSetNprealloc() 553 pipegcr->nprealloc = nprealloc; in KSPPIPEGCRSetNprealloc() 572 PetscErrorCode KSPPIPEGCRGetNprealloc(KSP ksp, PetscInt *nprealloc) in KSPPIPEGCRGetNprealloc() argument 578 *nprealloc = pipegcr->nprealloc; in KSPPIPEGCRGetNprealloc() 645 PetscInt mmax, nprealloc; in KSPSetFromOptions_PIPEGCR() local [all …]
|
| H A D | pipegcrimpl.h | 7 PetscInt nprealloc; /* How many vectors to preallocate */ member
|