Home
last modified time | relevance | path

Searched refs:normschedule (Results 1 – 8 of 8) sorted by relevance

/petsc/src/snes/impls/ksponly/
H A Dksponly.c12 SNESNormSchedule normschedule; in SNESSolve_KSPONLY() local
30 PetscCall(SNESGetNormSchedule(snes, &normschedule)); in SNESSolve_KSPONLY()
31 …if (snes->numbermonitors && (normschedule == SNES_NORM_ALWAYS || normschedule == SNES_NORM_INITIAL… in SNESSolve_KSPONLY()
61 …if (snes->numbermonitors && (normschedule == SNES_NORM_ALWAYS || normschedule == SNES_NORM_FINAL_O… in SNESSolve_KSPONLY()
/petsc/src/snes/interface/
H A Dsnespc.c81 SNESNormSchedule normschedule; in SNESGetNPCFunction() local
90 PetscCall(SNESGetNormSchedule(snes->npc, &normschedule)); in SNESGetNPCFunction()
93 …if (normschedule != SNES_NORM_NONE && normschedule != SNES_NORM_INITIAL_ONLY && (npcside == PC_RIG… in SNESGetNPCFunction()
H A Dsnes.c408 SNESNormSchedule normschedule; in SNESView() local
429 PetscCall(SNESGetNormSchedule(snes, &normschedule)); in SNESView()
430 …if (normschedule > 0) PetscCall(PetscViewerASCIIPrintf(viewer, " norm schedule %s\n", SNESNormSch… in SNESView()
1848 snes->normschedule = SNES_NORM_ALWAYS; in SNESCreate()
2028 PetscErrorCode SNESSetNormSchedule(SNES snes, SNESNormSchedule normschedule) in SNESSetNormSchedule() argument
2032 snes->normschedule = normschedule; in SNESSetNormSchedule()
2050 PetscErrorCode SNESGetNormSchedule(SNES snes, SNESNormSchedule *normschedule) in SNESGetNormSchedule() argument
2054 *normschedule = snes->normschedule; in SNESGetNormSchedule()
4169 …if (snes->normschedule == SNES_NORM_ALWAYS) PetscUseTypeMethod(snes, converged, it, xnorm, snorm, … in SNESConverged()
4171 if (snes->normschedule == SNES_NORM_ALWAYS) { in SNESConverged()
/petsc/src/snes/impls/gs/
H A Dsnesgs.c220 SNESNormSchedule normschedule; in SNESSolve_NGS() local
236 PetscCall(SNESGetNormSchedule(snes, &normschedule)); in SNESSolve_NGS()
237 …if (normschedule == SNES_NORM_ALWAYS || normschedule == SNES_NORM_INITIAL_ONLY || normschedule == … in SNESSolve_NGS()
265 …if (normschedule == SNES_NORM_ALWAYS || ((i == snes->max_its - 1) && (normschedule == SNES_NORM_IN… in SNESSolve_NGS()
H A Dgssecant.c52 if (equal && snes->normschedule == SNES_NORM_ALWAYS) { in SNESComputeNGSDefaultSecant()
/petsc/include/petsc/private/
H A Dsnesimpl.h121 SNESNormSchedule normschedule; /* Norm computation type for SNES instance */ member
525normschedule == SNES_NORM_FINAL_ONLY || (snes)->normschedule == SNES_NORM_INITIAL_FINAL_ONLY)) || …
526 (snes)->normschedule == SNES_NORM_ALWAYS)
/petsc/src/snes/impls/nasm/
H A Dnasm.c681 if (snes->normschedule == SNES_NORM_NONE) PetscCall(SNESComputeFunction(snes, X, F)); in SNESNASMComputeFinalJacobian_Private()
725 SNESNormSchedule normschedule; in SNESSolve_NASM() local
742 PetscCall(SNESGetNormSchedule(snes, &normschedule)); in SNESSolve_NASM()
743 …if (normschedule == SNES_NORM_ALWAYS || normschedule == SNES_NORM_INITIAL_ONLY || normschedule == … in SNESSolve_NASM()
773 …if (normschedule == SNES_NORM_ALWAYS || ((i == snes->max_its - 1) && (normschedule == SNES_NORM_IN… in SNESSolve_NASM()
/petsc/src/snes/impls/composite/
H A Dsnescomposite.c56 if (snes->normschedule == SNES_NORM_ALWAYS) PetscCall(SNESSetInitialFunction(next->snes, F)); in SNESCompositeApply_Multiplicative()
69 if (next->snes->npcside == PC_RIGHT && next->snes->normschedule != SNES_NORM_NONE) { in SNESCompositeApply_Multiplicative()
97 } else if (snes->normschedule == SNES_NORM_ALWAYS) { in SNESCompositeApply_Multiplicative()
124 if (snes->normschedule == SNES_NORM_ALWAYS) { in SNESCompositeApply_Additive()
159 if (snes->normschedule == SNES_NORM_ALWAYS) { in SNESCompositeApply_Additive()
198 if (snes->normschedule == SNES_NORM_ALWAYS) { in SNESCompositeApply_AdditiveOptimal()