Lines Matching refs:levelsnes
340 SNES levelsnes; in SNESFASSetMonitor() local
349 PetscCall(SNESFASGetCycleSNES(snes, i, &levelsnes)); in SNESFASSetMonitor()
350 fas = (SNES_FAS *)levelsnes->data; in SNESFASSetMonitor()
353 PetscCall(SNESMonitorCancel(levelsnes)); in SNESFASSetMonitor()
355 …PetscCall(SNESMonitorSet(levelsnes, (PetscErrorCode (*)(SNES, PetscInt, PetscReal, void *))SNESMon… in SNESFASSetMonitor()
358 PetscCall(SNESMonitorCancel(levelsnes)); in SNESFASSetMonitor()
383 SNES levelsnes; in SNESFASSetLog() local
393 PetscCall(SNESFASGetCycleSNES(snes, i, &levelsnes)); in SNESFASSetLog()
394 fas = (SNES_FAS *)levelsnes->data; in SNESFASSetLog()
757 SNES levelsnes; in SNESFASSetInterpolation() local
762 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASSetInterpolation()
763 fas = (SNES_FAS *)levelsnes->data; in SNESFASSetInterpolation()
788 SNES levelsnes; in SNESFASGetInterpolation() local
793 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASGetInterpolation()
794 fas = (SNES_FAS *)levelsnes->data; in SNESFASGetInterpolation()
825 SNES levelsnes; in SNESFASSetRestriction() local
830 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASSetRestriction()
831 fas = (SNES_FAS *)levelsnes->data; in SNESFASSetRestriction()
856 SNES levelsnes; in SNESFASGetRestriction() local
861 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASGetRestriction()
862 fas = (SNES_FAS *)levelsnes->data; in SNESFASGetRestriction()
887 SNES levelsnes; in SNESFASSetInjection() local
892 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASSetInjection()
893 fas = (SNES_FAS *)levelsnes->data; in SNESFASSetInjection()
919 SNES levelsnes; in SNESFASGetInjection() local
924 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASGetInjection()
925 fas = (SNES_FAS *)levelsnes->data; in SNESFASGetInjection()
949 SNES levelsnes; in SNESFASSetRScale() local
954 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASSetRScale()
955 fas = (SNES_FAS *)levelsnes->data; in SNESFASSetRScale()
979 SNES levelsnes; in SNESFASGetSmoother() local
984 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASGetSmoother()
985 fas = (SNES_FAS *)levelsnes->data; in SNESFASGetSmoother()
986 if (!fas->smoothd) PetscCall(SNESFASCycleCreateSmoother_Private(levelsnes, &fas->smoothd)); in SNESFASGetSmoother()
1008 SNES levelsnes; in SNESFASGetSmootherDown() local
1013 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASGetSmootherDown()
1014 fas = (SNES_FAS *)levelsnes->data; in SNESFASGetSmootherDown()
1016 if (!fas->smoothd) PetscCall(SNESFASCycleCreateSmoother_Private(levelsnes, &fas->smoothd)); in SNESFASGetSmootherDown()
1017 if (!fas->smoothu) PetscCall(SNESFASCycleCreateSmoother_Private(levelsnes, &fas->smoothu)); in SNESFASGetSmootherDown()
1039 SNES levelsnes; in SNESFASGetSmootherUp() local
1044 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASGetSmootherUp()
1045 fas = (SNES_FAS *)levelsnes->data; in SNESFASGetSmootherUp()
1047 if (!fas->smoothd) PetscCall(SNESFASCycleCreateSmoother_Private(levelsnes, &fas->smoothd)); in SNESFASGetSmootherUp()
1048 if (!fas->smoothu) PetscCall(SNESFASCycleCreateSmoother_Private(levelsnes, &fas->smoothu)); in SNESFASGetSmootherUp()
1069 SNES levelsnes; in SNESFASGetCoarseSolve() local
1074 PetscCall(SNESFASGetCycleSNES(snes, 0, &levelsnes)); in SNESFASGetCoarseSolve()
1075 fas = (SNES_FAS *)levelsnes->data; in SNESFASGetCoarseSolve()
1077 if (!fas->smoothd) PetscCall(SNESFASCycleCreateSmoother_Private(levelsnes, &fas->smoothd)); in SNESFASGetCoarseSolve()