Searched refs:smoothu (Results 1 – 7 of 7) sorted by relevance
| /petsc/src/snes/impls/fas/ |
| H A D | fasfunc.c | 211 …if (!fas->smoothu && fas->level != 0) PetscCall(SNESFASCycleCreateSmoother_Private(snes, &fas->smo… in SNESFASSetNumberSmoothUp() 212 …if (fas->smoothu) PetscCall(SNESSetTolerances(fas->smoothu, fas->smoothu->abstol, fas->smoothu->rt… in SNESFASSetNumberSmoothUp() 278 if (!fas->smoothu) PetscCall(SNESFASCycleCreateSmoother_Private(snes, &fas->smoothu)); in SNESFASSetContinuation() 280 PetscCall(SNESSetOptionsPrefix(fas->smoothu, optionsprefix)); in SNESFASSetContinuation() 281 PetscCall(SNESAppendOptionsPrefix(fas->smoothu, tprefix)); in SNESFASSetContinuation() 282 PetscCall(SNESSetType(fas->smoothu, SNESNEWTONLS)); in SNESFASSetContinuation() 283 …PetscCall(SNESSetTolerances(fas->smoothu, fas->fine->abstol, fas->fine->rtol, fas->fine->stol, 50,… in SNESFASSetContinuation() 526 PetscErrorCode SNESFASCycleGetSmootherUp(SNES snes, SNES *smoothu) in SNESFASCycleGetSmootherUp() argument 532 PetscAssertPointer(smoothu, 2); in SNESFASCycleGetSmootherUp() 534 if (!fas->smoothu) *smoothu = fas->smoothd; in SNESFASCycleGetSmootherUp() [all …]
|
| H A D | fas.c | 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() [all …]
|
| H A D | fasimpls.h | 13 SNES smoothu; /* the SNES for presmoothing */ member
|
| /petsc/src/ksp/pc/impls/mg/ |
| H A D | mg.c | 32 …PetscCall(KSPSolveTranspose(mglevels->smoothu, mglevels->b, mglevels->x)); /* transpose of post-sm… in PCMGMCycle_Private() 33 PetscCall(KSPCheckSolve(mglevels->smoothu, pc, mglevels->x)); in PCMGMCycle_Private() 96 PetscCall(KSPMatSolve(mglevels->smoothu, mglevels->B, mglevels->X)); /* post smooth */ in PCMGMCycle_Private() 97 PetscCall(KSPCheckSolve(mglevels->smoothu, pc, NULL)); in PCMGMCycle_Private() 99 PetscCall(KSPSolve(mglevels->smoothu, mglevels->b, mglevels->x)); /* post smooth */ in PCMGMCycle_Private() 100 PetscCall(KSPCheckSolve(mglevels->smoothu, pc, mglevels->x)); in PCMGMCycle_Private() 136 PetscCall(KSPGetOperators(mglevels[i]->smoothu, &mglevels[i]->A, NULL)); in PCApplyRichardson_MG() 143 PetscCall(KSPGetPC(mglevels[levels - 1]->smoothu, &tpc)); in PCApplyRichardson_MG() 180 … PetscCall(KSPSetTolerances(mglevels[i]->smoothu, 0, PETSC_CURRENT, PETSC_CURRENT, PETSC_CURRENT)); in PCApplyRichardson_MG() 181 if (mglevels[i]->smoothu != mglevels[i]->smoothd) { in PCApplyRichardson_MG() [all …]
|
| H A D | mgfunc.c | 587 if (mglevels[l]->smoothu == mglevels[l]->smoothd) { in PCMGGetSmootherUp() 602 PetscCall(KSPCreate(comm, &mglevels[l]->smoothu)); in PCMGGetSmootherUp() 603 PetscCall(KSPSetNestLevel(mglevels[l]->smoothu, pc->kspnestlevel)); in PCMGGetSmootherUp() 604 PetscCall(KSPSetErrorIfNotConverged(mglevels[l]->smoothu, pc->erroriffailure)); in PCMGGetSmootherUp() 605 …PetscCall(PetscObjectIncrementTabLevel((PetscObject)mglevels[l]->smoothu, (PetscObject)pc, mglevel… in PCMGGetSmootherUp() 606 PetscCall(KSPSetOptionsPrefix(mglevels[l]->smoothu, prefix)); in PCMGGetSmootherUp() 607 PetscCall(KSPSetTolerances(mglevels[l]->smoothu, rtol, abstol, dtol, maxits)); in PCMGGetSmootherUp() 608 PetscCall(KSPSetType(mglevels[l]->smoothu, ksptype)); in PCMGGetSmootherUp() 609 PetscCall(KSPSetNormType(mglevels[l]->smoothu, normtype)); in PCMGGetSmootherUp() 610 PetscCall(KSPSetConvergenceTest(mglevels[l]->smoothu, KSPConvergedSkip, NULL, NULL)); in PCMGGetSmootherUp() [all …]
|
| H A D | smg.c | 45 PetscCall(KSPSolveTranspose(mglevels[i]->smoothu, mglevels[i]->b, mglevels[i]->x)); in PCMGACycle_Private() 46 PetscCall(KSPCheckSolve(mglevels[i]->smoothu, pc, mglevels[i]->x)); in PCMGACycle_Private()
|
| /petsc/include/petsc/private/ |
| H A D | pcmgimpl.h | 36 KSP smoothu; /* post smoother */ member
|