Lines Matching refs:levels
89 if (dm_levels > fas->levels) { in SNESSetUp_FAS()
139 …if (fas->smoothd && fas->level != fas->levels - 1) PetscCall(SNESSetFunction(fas->smoothd, NULL, S… in SNESSetUp_FAS()
140 …if (fas->smoothu && fas->level != fas->levels - 1) PetscCall(SNESSetFunction(fas->smoothu, NULL, S… in SNESSetUp_FAS()
155 if (fas->level != fas->levels - 1) { in SNESSetUp_FAS()
183 PetscInt levels = 1; in SNESSetFromOptions_FAS() local
198 …etscOptionsInt("-snes_fas_levels", "Number of Levels", "SNESFASSetLevels", levels, &levels, &flg)); in SNESSetFromOptions_FAS()
200 PetscCall(DMGetRefineLevel(snes->dm, &levels)); in SNESSetFromOptions_FAS()
201 levels++; in SNESSetFromOptions_FAS()
204 PetscCall(SNESFASSetLevels(snes, levels, NULL)); in SNESSetFromOptions_FAS()
280 …scInt_FMT ", cycles=%" PetscInt_FMT "\n", SNESFASTypes[fas->fastype], fas->levels, fas->n_cycles)); in SNESView_FAS()
286 for (i = 0; i < fas->levels; i++) { in SNESView_FAS()
959 fas->levels = 1; in SNESCreate_FAS()