Home
last modified time | relevance | path

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

/libCEED/examples/solids/
H A Delasticity.c504 KSP ksp_smoother, ksp_est; in main() local
508 PetscCall(PCMGGetSmoother(pc, level, &ksp_smoother)); in main()
509 PetscCall(KSPSetDM(ksp_smoother, level_dms[level])); in main()
510 PetscCall(KSPSetDMActive(ksp_smoother, PETSC_FALSE)); in main()
513 PetscCall(KSPSetType(ksp_smoother, KSPCHEBYSHEV)); in main()
514 PetscCall(KSPChebyshevEstEigSet(ksp_smoother, 0, 0.1, 0, 1.1)); in main()
515 PetscCall(KSPChebyshevEstEigGetKSP(ksp_smoother, &ksp_est)); in main()
517 PetscCall(KSPChebyshevEstEigSetUseNoisy(ksp_smoother, PETSC_TRUE)); in main()
518 PetscCall(KSPSetOperators(ksp_smoother, jacob_mat[level], jacob_mat[level])); in main()
521 PetscCall(KSPGetPC(ksp_smoother, &pc_smoother)); in main()