Home
last modified time | relevance | path

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

/petsc/src/snes/impls/ntrdc/
H A Dntrdcimpl.h33 PetscBool use_cauchy; /* flag to use/not use Cauchy step and direction (S&D) */ member
H A Dntrdc.c412 } else if (neP->use_cauchy) { /* use Cauchy direction if enabled */ in SNESSolve_NEWTONTRDC()
608 …_cauchy", "use_cauchy", "use Cauchy step and direction", ctx->use_cauchy, &ctx->use_cauchy, NULL)); in SNESSetFromOptions_NEWTONTRDC()
687 neP->use_cauchy = PETSC_TRUE; in SNESCreate_NEWTONTRDC()
/petsc/src/snes/impls/tr/
H A Dtr.c495 PetscBool already_done = PETSC_FALSE, on_boundary, use_cauchy; in SNESSolve_NEWTONTR() local
642 use_cauchy = (PetscBool)(tauk == 1.0 && has_objective); in SNESSolve_NEWTONTR()
643 if (!use_cauchy) { in SNESSolve_NEWTONTR()
673 if (!use_cauchy && (ynorm > delta || ynorm == 0.0)) { in SNESSolve_NEWTONTR()