Lines Matching refs:level

102     fas->level  = i;  in SNESFASSetLevels()
109 …scCall(PetscSNPrintf(tprefix, sizeof(tprefix), "fas_levels_%" PetscInt_FMT "_cycle_", fas->level)); in SNESFASSetLevels()
165 PetscErrorCode SNESFASGetCycleSNES(SNES snes, PetscInt level, SNES *lsnes) in SNESFASGetCycleSNES() argument
174level <= fas->levels - 1, PetscObjectComm((PetscObject)snes), PETSC_ERR_ARG_OUTOFRANGE, "Requested… in SNESFASGetCycleSNES()
175 …PetscCheck(fas->level == fas->levels - 1, PetscObjectComm((PetscObject)snes), PETSC_ERR_ARG_OUTOFR… in SNESFASGetCycleSNES()
178 for (i = fas->level; i > level; i--) { in SNESFASGetCycleSNES()
182 …PetscCheck(fas->level == level, PetscObjectComm((PetscObject)snes), PETSC_ERR_PLIB, "SNESFAS level… in SNESFASGetCycleSNES()
211 …if (!fas->smoothu && fas->level != 0) PetscCall(SNESFASCycleCreateSmoother_Private(snes, &fas->smo… in SNESFASSetNumberSmoothUp()
434 if (fas->level == 0) { in SNESFASCycleCreateSmoother_Private()
441 PetscCall(PetscSNPrintf(tprefix, sizeof(tprefix), "fas_levels_%" PetscInt_FMT "_", fas->level)); in SNESFASCycleCreateSmoother_Private()
449 PetscCall(PetscObjectComposedDataSetInt((PetscObject)nsmooth, PetscMGLevelId, fas->level)); in SNESFASCycleCreateSmoother_Private()
727 if (fas->level == fas->levels - 1) *flg = PETSC_TRUE; in SNESFASCycleIsFine()
754 PetscErrorCode SNESFASSetInterpolation(SNES snes, PetscInt level, Mat mat) in SNESFASSetInterpolation() argument
762 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASSetInterpolation()
785 PetscErrorCode SNESFASGetInterpolation(SNES snes, PetscInt level, Mat *mat) in SNESFASGetInterpolation() argument
793 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASGetInterpolation()
822 PetscErrorCode SNESFASSetRestriction(SNES snes, PetscInt level, Mat mat) in SNESFASSetRestriction() argument
830 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASSetRestriction()
853 PetscErrorCode SNESFASGetRestriction(SNES snes, PetscInt level, Mat *mat) in SNESFASGetRestriction() argument
861 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASGetRestriction()
884 PetscErrorCode SNESFASSetInjection(SNES snes, PetscInt level, Mat mat) in SNESFASSetInjection() argument
892 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASSetInjection()
916 PetscErrorCode SNESFASGetInjection(SNES snes, PetscInt level, Mat *mat) in SNESFASGetInjection() argument
924 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASGetInjection()
946 PetscErrorCode SNESFASSetRScale(SNES snes, PetscInt level, Vec rscale) in SNESFASSetRScale() argument
954 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASSetRScale()
976 PetscErrorCode SNESFASGetSmoother(SNES snes, PetscInt level, SNES *smooth) in SNESFASGetSmoother() argument
984 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASGetSmoother()
1005 PetscErrorCode SNESFASGetSmootherDown(SNES snes, PetscInt level, SNES *smooth) in SNESFASGetSmootherDown() argument
1013 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASGetSmootherDown()
1036 PetscErrorCode SNESFASGetSmootherUp(SNES snes, PetscInt level, SNES *smooth) in SNESFASGetSmootherUp() argument
1044 PetscCall(SNESFASGetCycleSNES(snes, level, &levelsnes)); in SNESFASGetSmootherUp()