Lines Matching refs:smooth
35 static PetscErrorCode SNESFASSetUpLineSearch_Private(SNES snes, SNES smooth) in SNESFASSetUpLineSearch_Private() argument
46 PetscCall(SNESGetLineSearch(smooth, &slinesearch)); in SNESFASSetUpLineSearch_Private()
55 static PetscErrorCode SNESFASCycleSetUpSmoother_Private(SNES snes, SNES smooth) in SNESFASCycleSetUpSmoother_Private() argument
60 PetscCall(PetscObjectCopyFortranFunctionPointers((PetscObject)snes, (PetscObject)smooth)); in SNESFASCycleSetUpSmoother_Private()
61 PetscCall(SNESSetFromOptions(smooth)); in SNESFASCycleSetUpSmoother_Private()
62 PetscCall(SNESFASSetUpLineSearch_Private(snes, smooth)); in SNESFASCycleSetUpSmoother_Private()
67 smooth->vec_sol = snes->vec_sol; in SNESFASCycleSetUpSmoother_Private()
68 smooth->vec_sol_update = snes->vec_sol_update; in SNESFASCycleSetUpSmoother_Private()
69 smooth->vec_func = snes->vec_func; in SNESFASCycleSetUpSmoother_Private()
71 if (fas->eventsmoothsetup) PetscCall(PetscLogEventBegin(fas->eventsmoothsetup, smooth, 0, 0, 0)); in SNESFASCycleSetUpSmoother_Private()
72 PetscCall(SNESSetUp(smooth)); in SNESFASCycleSetUpSmoother_Private()
73 if (fas->eventsmoothsetup) PetscCall(PetscLogEventEnd(fas->eventsmoothsetup, smooth, 0, 0, 0)); in SNESFASCycleSetUpSmoother_Private()