Home
last modified time | relevance | path

Searched refs:FPC (Results 1 – 2 of 2) sorted by relevance

/petsc/src/snes/interface/
H A Dsnespc.c82 Vec FPC, XPC; in SNESGetNPCFunction() local
94 PetscCall(SNESGetFunction(snes->npc, &FPC, NULL, NULL)); in SNESGetNPCFunction()
95 …PetscCheck(FPC, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Nonlinear preconditioner has no functi… in SNESGetNPCFunction()
96 if (fnorm) PetscCall(VecNorm(FPC, NORM_2, fnorm)); in SNESGetNPCFunction()
97 PetscCall(VecCopy(FPC, F)); in SNESGetNPCFunction()
/petsc/src/snes/impls/fas/
H A Dfas.c353 Vec FPC; in SNESFASDownSmooth_Private() local
371 PetscCall(SNESGetFunction(smoothd, &FPC, NULL, NULL)); in SNESFASDownSmooth_Private()
373 if (!flg) PetscCall(SNESComputeFunction(smoothd, X, FPC)); in SNESFASDownSmooth_Private()
374 PetscCall(VecCopy(FPC, F)); in SNESFASDownSmooth_Private()
388 Vec FPC; in SNESFASUpSmooth_Private() local
404 PetscCall(SNESGetFunction(smoothu, &FPC, NULL, NULL)); in SNESFASUpSmooth_Private()
406 if (!flg) PetscCall(SNESComputeFunction(smoothu, X, FPC)); in SNESFASUpSmooth_Private()
407 PetscCall(VecCopy(FPC, F)); in SNESFASUpSmooth_Private()