Searched refs:tau_neg (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/snes/impls/ntrdc/ |
| H A D | ntrdc.c | 305 …PetscReal auk, gfnorm, ycnorm, c0, c1, c2, tau, tau_pos, tau_neg, gTBg; /*… in SNESSolve_NEWTONTRDC() local 437 tau_neg = (c1 - PetscSqrtReal(PetscSqr(c1) - 4. * c0 * c2)) / (2. * c0); in SNESSolve_NEWTONTRDC() 438 …tau = PetscMax(tau_pos, tau_neg); /* can tau_neg > tau_pos? I don't think so, but just in case… in SNESSolve_NEWTONTRDC()
|