Lines Matching refs:restrct
15 PetscCall(MatDestroy(&fas->restrct)); in SNESReset_FAS()
117 if (!fas->restrct) { in SNESSetUp_FAS()
121 PetscCall(DMCreateRestriction(next->dm, snes->dm, &fas->restrct)); in SNESSetUp_FAS()
124 fas->restrct = fas->interpolate; in SNESSetUp_FAS()
474 PetscCall(MatRestrict(fas->restrct, Xfine, Xcoarse)); in SNESFASRestrict()
492 Mat restrct, interpolate; in SNESFASInterpolatedCoarseSolution() local
500 PetscCall(SNESFASCycleGetRestriction(snes, &restrct)); in SNESFASInterpolatedCoarseSolution()
511 PetscCall(MatRestrict(restrct, snes->vec_rhs, B_c)); in SNESFASInterpolatedCoarseSolution()
552 Mat restrct, interpolate; in SNESFASCoarseCorrection() local
560 PetscCall(SNESFASCycleGetRestriction(snes, &restrct)); in SNESFASCoarseCorrection()
571 PetscCall(MatRestrict(restrct, F, B_c)); in SNESFASCoarseCorrection()
626 Mat restrct, interpolate; in SNESFASCycle_Additive() local
638 PetscCall(SNESFASCycleGetRestriction(snes, &restrct)); in SNESFASCycle_Additive()
652 PetscCall(MatRestrict(restrct, F, B_c)); in SNESFASCycle_Additive()
860 PetscCall(DMRestrict(dm, ffas->restrct, ffas->rscale, ffas->inject, dmcoarse)); in SNESSolve_FAS()
969 fas->restrct = NULL; in SNESCreate_FAS()