Searched refs:max_neig (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/ksp/ksp/impls/gmres/dgmres/ |
| H A D | dgmres.c | 19 static PetscErrorCode KSPDGMRESSetMaxEigen(KSP ksp, PetscInt max_neig) in KSPDGMRESSetMaxEigen() argument 22 PetscTryMethod(ksp, "KSPDGMRESSetMaxEigen_C", (KSP, PetscInt), (ksp, max_neig)); in KSPDGMRESSetMaxEigen() 265 PetscInt max_neig = dgmres->max_neig; in KSPDestroy_DGMRES() local 269 PetscCall(VecDestroyVecs(max_neig, &UU)); in KSPDestroy_DGMRES() 270 PetscCall(VecDestroyVecs(max_neig, &MU)); in KSPDestroy_DGMRES() 474 …, " Maximum number of eigenvalues set to be extracted = %" PetscInt_FMT "\n", dgmres->max_neig)); in KSPView_DGMRES() 491 static PetscErrorCode KSPDGMRESSetMaxEigen_DGMRES(KSP ksp, PetscInt max_neig) in KSPDGMRESSetMaxEigen_DGMRES() argument 496 …PetscCheck(max_neig >= 0 && max_neig <= dgmres->max_k, PetscObjectComm((PetscObject)ksp), PETSC_ER… in KSPDGMRESSetMaxEigen_DGMRES() 497 dgmres->max_neig = max_neig; in KSPDGMRESSetMaxEigen_DGMRES() 523 PetscInt max_neig; in KSPSetFromOptions_DGMRES() local [all …]
|
| H A D | dgmresimpl.h | 15 PetscInt max_neig; /* Maximum number of eigenvalues to deflate */ \ 86 #define MAX_NEIG dgmres->max_neig
|
| /petsc/src/ksp/ksp/impls/gmres/agmres/ |
| H A D | agmresimpl.h | 46 #define MAXKSPSIZE (agmres->DeflPrecond ? agmres->max_k : (agmres->max_k + agmres->max_neig))
|
| H A D | agmres.c | 478 …> agmres->bgv * (ksp->max_it - ksp->its)) && ((agmres->r + 1) < agmres->max_neig))) agmres->neig +… in KSPSolve_AGMRES() 540 …r, " Maximum number of eigenvalues set to be extracted = %" PetscInt_FMT "\n", agmres->max_neig)); in KSPView_AGMRES() 567 …Maximum number of eigenvalues to deflate", "KSPDGMRESSetMaxEigen", agmres->max_neig, &neig, &flg)); in KSPSetFromOptions_AGMRES() 568 if (flg) agmres->max_neig = neig + EIG_OFFSET; in KSPSetFromOptions_AGMRES() 569 else agmres->max_neig = agmres->neig + EIG_OFFSET; in KSPSetFromOptions_AGMRES() 666 agmres->max_neig = 0; in KSPCreate_AGMRES()
|