Home
last modified time | relevance | path

Searched refs:kspest (Results 1 – 3 of 3) sorted by relevance

/petsc/src/ksp/ksp/impls/cheby/
H A Dcheby.c11 if (cheb->kspest) PetscCall(KSPReset(cheb->kspest)); in KSPReset_Chebyshev()
18 static PetscErrorCode KSPChebyshevComputeExtremeEigenvalues_Private(KSP kspest, PetscReal *emin, Pe… in KSPChebyshevComputeExtremeEigenvalues_Private() argument
24 PetscCall(KSPGetIterationNumber(kspest, &n)); in KSPChebyshevComputeExtremeEigenvalues_Private()
26 PetscCall(KSPComputeEigenvalues(kspest, n, re, im, &neig)); in KSPChebyshevComputeExtremeEigenvalues_Private()
36 PetscCall(PetscInfo(kspest, " eigen estimate min/max = %g %g\n", (double)min, (double)max)); in KSPChebyshevComputeExtremeEigenvalues_Private()
85 …if ((cheb->emin_provided == 0. || cheb->emax_provided == 0.) && !cheb->kspest) { /* should this bl… in KSPChebyshevEstEigSet_Chebyshev()
86 PetscCall(KSPCreate(PetscObjectComm((PetscObject)ksp), &cheb->kspest)); in KSPChebyshevEstEigSet_Chebyshev()
88 PetscCall(KSPSetNestLevel(cheb->kspest, nestlevel + 1)); in KSPChebyshevEstEigSet_Chebyshev()
89 PetscCall(KSPSetErrorIfNotConverged(cheb->kspest, ksp->errorifnotconverged)); in KSPChebyshevEstEigSet_Chebyshev()
90 PetscCall(PetscObjectIncrementTabLevel((PetscObject)cheb->kspest, (PetscObject)ksp, 1)); in KSPChebyshevEstEigSet_Chebyshev()
[all …]
H A Dchebyshevimpl.h16 KSP kspest; /* KSP used to estimate eigenvalues */ member
/petsc/src/ksp/ksp/tests/
H A Dex3.c170 KSP kspest; in main() local
172 PetscCall(KSPChebyshevEstEigGetKSP(ksp, &kspest)); in main()
173 if (kspest) PetscCall(KSPView(kspest, PETSC_VIEWER_STDOUT_WORLD)); in main()