Home
last modified time | relevance | path

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

/petsc/src/snes/impls/ntrdc/
H A Dntrdc.c305 …PetscReal auk, gfnorm, ycnorm, c0, c1, c2, tau, tau_pos, tau_neg, gTBg; /*… in SNESSolve_NEWTONTRDC() local
436tau_pos = (c1 + PetscSqrtReal(PetscSqr(c1) - 4. * c0 * c2)) / (2. * c0); /* quadratic formula */ 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()