Lines Matching refs:smoothu

11   PetscCall(SNESDestroy(&fas->smoothu));  in SNESReset_FAS()
105 if (fas->smoothu) PetscCall(SNESSetDM(fas->smoothu, snes->dm)); in SNESSetUp_FAS()
140 …if (fas->smoothu && fas->level != fas->levels - 1) PetscCall(SNESSetFunction(fas->smoothu, NULL, S… in SNESSetUp_FAS()
154 if (fas->smoothu) { in SNESSetUp_FAS()
156 PetscCall(SNESSetNormSchedule(fas->smoothu, SNES_NORM_NONE)); in SNESSetUp_FAS()
158 PetscCall(SNESSetNormSchedule(fas->smoothu, SNES_NORM_FINAL_ONLY)); in SNESSetUp_FAS()
160 PetscCall(SNESFASCycleSetUpSmoother_Private(snes, fas->smoothu)); in SNESSetUp_FAS()
272 SNES smoothu, smoothd, levelsnes; in SNESView_FAS() local
288 PetscCall(SNESFASCycleGetSmootherUp(levelsnes, &smoothu)); in SNESView_FAS()
302 if (i && (smoothd == smoothu)) { in SNESView_FAS()
307 if (smoothu) { in SNESView_FAS()
308 PetscCall(SNESView(smoothu, viewer)); in SNESView_FAS()
324 if (!curfas->smoothu) { in SNESView_FAS()
334 if (curfas->smoothu) PetscCall(SNESView(curfas->smoothu, viewer)); in SNESView_FAS()
389 SNES smoothu; in SNESFASUpSmooth_Private() local
394 PetscCall(SNESFASCycleGetSmootherUp(snes, &smoothu)); in SNESFASUpSmooth_Private()
395 if (fas->eventsmoothsolve) PetscCall(PetscLogEventBegin(fas->eventsmoothsolve, smoothu, 0, 0, 0)); in SNESFASUpSmooth_Private()
396 PetscCall(SNESSolve(smoothu, B, X)); in SNESFASUpSmooth_Private()
397 if (fas->eventsmoothsolve) PetscCall(PetscLogEventEnd(fas->eventsmoothsolve, smoothu, 0, 0, 0)); in SNESFASUpSmooth_Private()
399 PetscCall(SNESGetConvergedReason(smoothu, &reason)); in SNESFASUpSmooth_Private()
404 PetscCall(SNESGetFunction(smoothu, &FPC, NULL, NULL)); in SNESFASUpSmooth_Private()
405 PetscCall(SNESGetAlwaysComputesFinalResidual(smoothu, &flg)); in SNESFASUpSmooth_Private()
406 if (!flg) PetscCall(SNESComputeFunction(smoothu, X, FPC)); in SNESFASUpSmooth_Private()
963 fas->smoothu = NULL; in SNESCreate_FAS()